Revert "FROMLIST: modpost: Make static exports fatal"

This reverts commit db78f3b149.

Reason for revert: Pulling upstream changes which accomplish the same thing. See https://android-review.googlesource.com/c/kernel/common/+/1559676

Change-Id: I924e794d9987994d88aa0e6c11e1062e2b046947
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
This commit is contained in:
Melody Olvera
2021-01-28 18:15:55 +00:00
committed by Quentin Perret
parent c9bdbd3ed7
commit 7c0551d428

View File

@@ -2647,9 +2647,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));
}
}