[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120420153331.GA19219@kroah.com>
Date: Fri, 20 Apr 2012 08:33:31 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Ian Abbott <abbotti@....co.uk>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
Ian Abbott <ian.abbott@....co.uk>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"fmhess@...rs.sourceforge.net" <fmhess@...rs.sourceforge.net>
Subject: Re: [PATCH v2] staging: comedi: resolve section mismatch in s626
On Thu, Apr 19, 2012 at 06:34:11PM -0700, Gerard Snitselaar wrote:
> I am getting an error when doing a build of the latest linux-next
> before it gets to modpost so I need to look at that, but when I do an
> allyesconfig build on master I get the following:
>
> WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2ec8): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
> The function s626_attach() references
> the variable __devinitconst s626_pci_table.
> This is often because s626_attach lacks a __devinitconst
> annotation or the annotation of s626_pci_table is wrong.
>
> WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2ece): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
> The function s626_attach() references
> the variable __devinitconst s626_pci_table.
> This is often because s626_attach lacks a __devinitconst
> annotation or the annotation of s626_pci_table is wrong.
>
> WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2ed7): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
> The function s626_attach() references
> the variable __devinitconst s626_pci_table.
> This is often because s626_attach lacks a __devinitconst
> annotation or the annotation of s626_pci_table is wrong.
>
> WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2edd): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
> The function s626_attach() references
> the variable __devinitconst s626_pci_table.
> This is often because s626_attach lacks a __devinitconst
> annotation or the annotation of s626_pci_table is wrong.
Odd, can you send me your .config file?
Also, I don't have this patch in my queue anymore, can someone please
resend it if it is to be applied?
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists