Re: 2.6.1rc1 fails to build on Alpha

From: Ivan Kokshaysky
Date: Sat Jan 03 2004 - 16:42:12 EST


On Sat, Jan 03, 2004 at 06:49:04PM +0000, Thorsten Kranzkowski wrote:
> I was able to eliminate these with 'Support for hot-pluggable devices'.
>
> >From what I understand there must be hiding some errorneous declaration
> somewhere, i.e. a pointer to something that is thrown away at link time.

Precisely.

> Didn't find it yet, though :)

That was recent change to sym53c8xx_2 driver:
now sym2_probe() marked as __devinit calls sym_detach() from
[discarded] .exit.text section...

Ivan.

--- rc1/drivers/scsi/sym53c8xx_2/sym_glue.c Sat Jan 3 22:49:31 2004
+++ linux/drivers/scsi/sym53c8xx_2/sym_glue.c Sat Jan 3 23:35:54 2004
@@ -2173,11 +2173,10 @@ sym53c8xx_pci_init(struct pci_dev *pdev,


/*
- * Called before unloading the module.
* Detach the host.
* We have to free resources and halt the NCR chip.
*/
-static int __devexit sym_detach(struct sym_hcb *np)
+static int sym_detach(struct sym_hcb *np)
{
printk("%s: detaching ...\n", sym_name(np));

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/