[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACqU3MWFiCFG+MeosgUL2eOboEj5-XdVH0M9WgfYJ0vOc-CJdQ@mail.gmail.com>
Date: Tue, 16 Aug 2011 14:08:37 -0400
From: Arnaud Lacombe <lacombar@...il.com>
To: Greg KH <gregkh@...e.de>
Cc: Fabio Estevam <fabio.estevam@...escale.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] devtmpfs: Annotate devtmpfsd as __init
Hi,
On Tue, Aug 16, 2011 at 1:57 PM, Greg KH <gregkh@...e.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@...escale.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@...escale.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@...il.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@...il.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
- Arnaud
> thanks,
>
> 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