Re: [PATCH] cciss: section mismatch

2008-01-11 Thread Sam Ravnborg
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

RE: [PATCH] cciss: section mismatch

2008-01-11 Thread Miller, Mike (OS Dev)
> --- 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

Re: [PATCH] cciss: section mismatch

2008-01-11 Thread Jens Axboe
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

[PATCH] cciss: section mismatch

2008-01-10 Thread Randy Dunlap
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