From: Chen Gang <gang.chen@asianux.com>
To: "James E.J. Bottomley" <jejb@parisc-linux.org>,
Helge Deller <deller@gmx.de>
Cc: Parisc List <linux-parisc@vger.kernel.org>
Subject: [Suggestion] parisc: kernel: about section mismatch warning.
Date: Wed, 24 Jul 2013 16:27:25 +0800 [thread overview]
Message-ID: <51EF8FED.9090903@asianux.com> (raw)
In-Reply-To: <51EF8C52.50403@asianux.com>
Hello Maintainers:
When building parisc with allmodconfig by 'hppa64-linux-gnu-', I find section mismatch warnings.
I am not quite sure whether they will cause real issue or not, please
help check, thanks.
LD arch/parisc/kernel/built-in.o
WARNING: arch/parisc/kernel/built-in.o(.data+0x118): Section mismatch in reference from the variable .L24 to the function .init.text:do_device_inventory()
The variable .L24 references
the function __init do_device_inventory()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: arch/parisc/kernel/built-in.o(.data+0x120): Section mismatch in reference from the variable .L26 to the function .init.text:parisc_pdc_chassis_init()
The variable .L26 references
the function __init parisc_pdc_chassis_init()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
At least, I am sure it is not the source code issue, is it the cross-
compiler's issue (need change suitable compiler), or just skip them ?
Welcome any suggestions or completions.
Thanks.
--
Chen Gang
next prev parent reply other threads:[~2013-07-24 8:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 8:12 [PATCH] parisc: Kconfig: use 'PA8X00' as the default choise instead of 'PA7000' Chen Gang
2013-07-24 8:27 ` Chen Gang [this message]
2013-07-24 14:11 ` [Suggestion] parisc: kernel: about section mismatch warning James Bottomley
2013-07-24 23:58 ` Chen Gang F T
2013-07-29 8:49 ` Chen Gang
2013-07-29 13:47 ` John David Anglin
2013-07-29 18:23 ` Helge Deller
2013-07-30 0:48 ` Chen Gang
2013-07-24 14:00 ` [PATCH] parisc: Kconfig: use 'PA8X00' as the default choise instead of 'PA7000' James Bottomley
2013-07-25 0:37 ` Chen Gang F T
2013-07-26 20:08 ` Helge Deller
2013-07-29 1:11 ` Chen Gang
2013-07-29 8:39 ` [Suggestion] parisc: about the warnings "unsigned expression < 0 is always false" Chen Gang
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=51EF8FED.9090903@asianux.com \
--to=gang.chen@asianux.com \
--cc=deller@gmx.de \
--cc=jejb@parisc-linux.org \
--cc=linux-parisc@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