summaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorMatthew Wilcox2006-10-07 13:35:32 +0200
committerSam Ravnborg2007-05-02 20:58:08 +0200
commit2a11665945d510e1a4df8dc44dc3668b01945ade (patch)
treee340bf738976eb780a3af774c20469c2000709b8 /scripts/mod/modpost.h
parentkconfig/xconfig: sync main view with search dialog current menu (diff)
downloadkernel-qcow2-linux-2a11665945d510e1a4df8dc44dc3668b01945ade.tar.gz
kernel-qcow2-linux-2a11665945d510e1a4df8dc44dc3668b01945ade.tar.xz
kernel-qcow2-linux-2a11665945d510e1a4df8dc44dc3668b01945ade.zip
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>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r--scripts/mod/modpost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index d398c61e55ef..0858caa9c03f 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -145,3 +145,4 @@ void release_file(void *file, unsigned long size);
void fatal(const char *fmt, ...);
void warn(const char *fmt, ...);
+void merror(const char *fmt, ...);