[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLawPdSa-c_a7EE_uyu2Oc=xvJKf3NgcTywcm6AY0CQ9w@mail.gmail.com>
Date: Mon, 6 May 2019 16:06:57 -0500
From: Rob Herring <robh+dt@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>,
Lubomir Rintel <lkundrak@...sk>
Cc: LKML <linux-kernel@...r.kernel.org>, X86 ML <x86@...nel.org>
Subject: Re: [PATCH -next] x86: olpc: fix section mismatch warning
+Lubomir
On Mon, May 6, 2019 at 2:31 PM Randy Dunlap <rdunlap@...radead.org> wrote:
>
> From: Randy Dunlap <rdunlap@...radead.org>
>
> Fix section mismatch warning:
>
> WARNING: vmlinux.o(.text+0x36e00): Section mismatch in reference from the function olpc_dt_compatible_match() to the function .init.text:olpc_dt_getproperty()
> The function olpc_dt_compatible_match() references
> the function __init olpc_dt_getproperty().
> This is often because olpc_dt_compatible_match lacks a __init
> annotation or the annotation of olpc_dt_getproperty is wrong.
>
> All calls to olpc_dt_compatible_match() are from __init functions,
> so it can be marked __init also.
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: x86@...nel.org
> Cc: Rob Herring <robh+dt@...nel.org>
Fixes: a7a9bacb9a32 ("x86/platform/olpc: Use a correct version when
making up a battery node")
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists