On Thu, Jan 10, 2008 at 02:32:35PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <[EMAIL PROTECTED]>
>
> Mark cciss_pci_init() as __devinit, to fix section mismatch warning.
>
> WARNING: vmlinux.o(.text+0x601fc9): Section mismatch: reference to
> .init.text: (between 'cciss_pci_init' and 'ccis
> --- linux-2.6.24-rc7-git1.orig/drivers/block/cciss.c
> +++ linux-2.6.24-rc7-git1/drivers/block/cciss.c
> @@ -2927,7 +2927,7 @@ default_int_mode:
> return;
> }
>
> -static int cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
> +static int __devinit cciss_pci_init(ctlr_info_t *c, struc
On Thu, Jan 10 2008, Randy Dunlap wrote:
> From: Randy Dunlap <[EMAIL PROTECTED]>
>
> Mark cciss_pci_init() as __devinit, to fix section mismatch warning.
>
> WARNING: vmlinux.o(.text+0x601fc9): Section mismatch: reference to
> .init.text: (between 'cciss_pci_init' and 'cciss_getgeometry')
Than
From: Randy Dunlap <[EMAIL PROTECTED]>
Mark cciss_pci_init() as __devinit, to fix section mismatch warning.
WARNING: vmlinux.o(.text+0x601fc9): Section mismatch: reference to .init.text:
(between 'cciss_pci_init' and 'cciss_getgeometry')
Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
---
driv
4 matches
Mail list logo