[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.6.1rc1 fails to build on Alpha


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 _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: