From ff6d1ce0acda893762ba1423f699da8b1116e68e Mon Sep 17 00:00:00 2001 From: Melody Olvera Date: Thu, 28 Jan 2021 18:15:55 +0000 Subject: [PATCH] Revert "FROMLIST: modpost: Make static exports fatal" This reverts commit db78f3b1493a6f5ee9115b211a09809b4595afca. Reason for revert: Pulling upstream changes which accomplish the same thing. See https://android-review.googlesource.com/c/kernel/common/+/1559676 Bug: 176428324 Change-Id: I924e794d9987994d88aa0e6c11e1062e2b046947 Signed-off-by: Melody Olvera --- scripts/mod/modpost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 5fbec5bffee3..584beca14e3f 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2645,9 +2645,9 @@ int main(int argc, char **argv) for (s = symbolhash[n]; s; s = s->next) { if (s->is_static) - fatal("\"%s\" [%s] is a static %s\n", - s->name, s->module->name, - export_str(s->export)); + warn("\"%s\" [%s] is a static %s\n", + s->name, s->module->name, + export_str(s->export)); } }