Skip to contentSkip to conversation

qnap tsx1x: fix section mismatch

PATCH New Arnaud Patard (Rtp) 2 participants 2 messages May 12, 2010 – May 21, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qnap tsx1x: fix section mismatch

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.

---
-------------- 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>

#1 lore raw

PATCH 1/1 qnap tsx1x: fix section mismatch

Quoted 9 lines · Arnaud Patard

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.

Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/