diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 77bba654dc97..1eb902b8a86c 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2647,9 +2647,9 @@ int main(int argc, char **argv) for (s = symbolhash[n]; s; s = s->next) { if (s->is_static) - warn("\"%s\" [%s] is a static %s\n", - s->name, s->module->name, - export_str(s->export)); + error("\"%s\" [%s] is a static %s\n", + s->name, s->module->name, + export_str(s->export)); } }