kbuild: distinguish between errors and warnings in modpost
authorMatthew Wilcox <matthew@wil.cx>
Sat, 7 Oct 2006 11:35:32 +0000 (05:35 -0600)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:08 +0000 (20:58 +0200)
commit2a11665945d510e1a4df8dc44dc3668b01945ade
treee340bf738976eb780a3af774c20469c2000709b8
parent63431e75691c410819023ab0e6cd047cbfcf64e2
kbuild: distinguish between errors and warnings in modpost

Some of modpost's warnings are fatal, and some are not.  Adopt the
compiler distinction between errors and warnings by calling merror()
for fatal diagnostics and warn() for non-fatal ones.
merror() was used as replacemtn for error() to avoid clash with glibc

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