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

Bug: 176428324
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 1e58260d76
commit ff6d1ce0ac

View File

@@ -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));
}
}