Messages in this thread | | | Date | Tue, 16 Aug 2011 14:08:37 -0400 | Subject | Re: [PATCH] devtmpfs: Annotate devtmpfsd as __init | From | Arnaud Lacombe <> |
| |
Hi,
On Tue, Aug 16, 2011 at 1:57 PM, Greg KH <gregkh@suse.de> wrote: > On Tue, Aug 16, 2011 at 01:30:06PM -0400, Arnaud Lacombe wrote: >> Hi, >> >> On Tue, Aug 16, 2011 at 1:22 PM, Fabio Estevam >> <fabio.estevam@freescale.com> wrote: >> > This fixes the following: >> > >> > WARNING: vmlinux.o(.text+0x1ed41c): Section mismatch in reference from the function devtmpfsd() to the (unknown reference) .init.data:(unknown) >> > The function devtmpfsd() references >> > the (unknown reference) __initdata (unknown). >> > This is often because devtmpfsd lacks a __initdata >> > annotation or the annotation of (unknown) is wrong. >> > >> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> >> > >> I already submitted a patch for that https://patchwork.kernel.org/patch/996132/ > > And it's in linux-next, right? > Yes.
commit f9e0b159dbff693bacb64a929e04f442df985b50 Author: Arnaud Lacombe <lacombar@gmail.com> Date: Thu Jul 21 13:16:19 2011 -0400
drivers/base/devtmpfs.c: correct annotation of `setup_done'
This fixes the following section mismatch issue:
WARNING: vmlinux.o(.text+0x1192bf): Section mismatch in reference from the function devtmpfsd() to the variable .init.data:setup_done The function devtmpfsd() references the variable __initdata setup_done. This is often because devtmpfsd lacks a __initdata annotation or the annotation of setup_done is wrong.
WARNING: vmlinux.o(.text+0x119342): Section mismatch in reference from the function devtmpfsd() to the variable .init.data:setup_done The function devtmpfsd() references the variable __initdata setup_done. This is often because devtmpfsd lacks a __initdata annotation or the annotation of setup_done is wrong.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Arnaud
> thanks, > > greg k-h >
| |