diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-12-01 19:34:17 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-12-21 13:57:08 +0900 |
commit | d6d692fa21d3057edf457a764832077da8aa44d2 (patch) | |
tree | 5be61ae6b6429f636d03eed3b99a305c1f8e6fa9 /scripts | |
parent | 1d6cd39293602e990b016994e51956eded35da7c (diff) |
modpost: change license incompatibility to error() from fatal()
Change fatal() to error() to continue running to report more possible
issues.
There is no difference in the fact that modpost will fail anyway.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mod/modpost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index d55d7e5ef111..d907c63b948f 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2145,11 +2145,11 @@ static void check_for_gpl_usage(enum export exp, const char *m, const char *s) { switch (exp) { case export_gpl: - fatal("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n", + error("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n", m, s); break; case export_unused_gpl: - fatal("GPL-incompatible module %s.ko uses GPL-only symbol marked UNUSED '%s'\n", + error("GPL-incompatible module %s.ko uses GPL-only symbol marked UNUSED '%s'\n", m, s); break; case export_gpl_future: |