From: Samuel Ortiz <sameo@linux.intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] mfd: fix the warning of __devinitdata
Date: Tue, 11 Sep 2012 16:11:24 +0000 [thread overview]
Message-ID: <20120911161124.GV3647@sortiz-mobl> (raw)
In-Reply-To: <1347372595-11370-1-git-send-email-haojian.zhuang@gmail.com>
Hi Haojian,
On Tue, Sep 11, 2012 at 10:09:55PM +0800, Haojian Zhuang wrote:
> WARNING: drivers/built-in.o(.data+0x1e3c8): Section mismatch in
> reference from the variable bk_devs to the variable
> .devinit.data:bk0_resources
> The variable bk_devs references
> the variable __devinitdata bk0_resources
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the
> variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
> *_console
>
> So add __devinitdata on bk_devs, led_devs & reg_devs.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
> ---
> drivers/mfd/88pm860x-core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks for the quick fix, applied now.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
prev parent reply other threads:[~2012-09-11 16:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 14:09 [PATCH] mfd: fix the warning of __devinitdata Haojian Zhuang
2012-09-11 16:11 ` Samuel Ortiz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120911161124.GV3647@sortiz-mobl \
--to=sameo@linux.intel.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox