* [PATCH] qnap tsx1x: fix section mismatch
@ 2010-05-12 15:37 Arnaud Patard (Rtp)
2010-05-21 18:56 ` Martin Michlmayr
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard (Rtp) @ 2010-05-12 15:37 UTC (permalink / raw)
To: linux-arm-kernel
Fix the following warning :
WARNING: vmlinux.o(.text+0x95a0): Section mismatch in reference from the
function qnap_tsx1x_register_flash() to the (unknown reference) .init.data:(unknown)
The function qnap_tsx1x_register_flash() references
the (unknown reference) __initdata (unknown).
This is often because qnap_tsx1x_register_flash lacks a __initdata
annotation or the annotation of (unknown) is wrong.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsx1x_section_mismatch.patch
Type: text/x-diff
Size: 615 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100512/812d16ed/attachment.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] qnap tsx1x: fix section mismatch
2010-05-12 15:37 [PATCH] qnap tsx1x: fix section mismatch Arnaud Patard (Rtp)
@ 2010-05-21 18:56 ` Martin Michlmayr
0 siblings, 0 replies; 2+ messages in thread
From: Martin Michlmayr @ 2010-05-21 18:56 UTC (permalink / raw)
To: linux-arm-kernel
* Arnaud Patard <arnaud.patard@rtp-net.org> [2010-05-12 17:37]:
> Fix the following warning :
> WARNING: vmlinux.o(.text+0x95a0): Section mismatch in reference from the
> function qnap_tsx1x_register_flash() to the (unknown reference) .init.data:(unknown)
> The function qnap_tsx1x_register_flash() references
> the (unknown reference) __initdata (unknown).
> This is often because qnap_tsx1x_register_flash lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
>
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-21 18:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 15:37 [PATCH] qnap tsx1x: fix section mismatch Arnaud Patard (Rtp)
2010-05-21 18:56 ` Martin Michlmayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).