kbuild: make modpost section warnings clearer
authorRussell King <rmk+lkml@arm.linux.org.uk>
Thu, 10 May 2007 22:03:25 +0000 (23:03 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 19 May 2007 07:11:57 +0000 (09:11 +0200)
commit2560120997403581dd824e5bd2389c719edcbf12
tree4f4bb0ea08dc828864c315d67ba78ed352f6ea79
parent03c9587d752669a12fd553b0cbd835f77b176607
kbuild: make modpost section warnings clearer

Change modpost section mismatch warnings to be less confusing;
model them on the binutils linker warnings which we all know how
to interpret.

Also, fix the wrong ordering of arguments for the final case -
fromsec and refsymname were reversed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c