mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
UPSTREAM: 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>
Bug: 176428324
Change-Id: Ifaf5378d9305e6a5711cbe2d49b578c6ef184000
(cherry picked from commit d6d692fa21)
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
This commit is contained in:
parent
1731b01108
commit
2a30bb9b7b
|
|
@ -2142,11 +2142,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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user