kbuild: warn when a moduled uses a symbol marked UNUSED
authorSam Ravnborg <sam@mars.ravnborg.org>
Sat, 1 Jul 2006 09:44:23 +0000 (11:44 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sat, 1 Jul 2006 09:44:23 +0000 (11:44 +0200)
commitc96fca213737a5b4bc569e1d9a0ef6adeff661e9
treed20a7d0550cf92040df1b2cf1c00199483d8f7f3
parent534b89a9f6a86a28300cd71619112c4bbca7c0ae
kbuild: warn when a moduled uses a symbol marked UNUSED

We now have infrastructure in place to mark an EXPORTed symbol
as unused. So the natural next step is to warn during buildtime when
a module uses a symbol marked UNUSED.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c
scripts/mod/modpost.h