Skip to content

Commit d6d692f

Browse files
committed
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 <[email protected]>
1 parent 1d6cd39 commit d6d692f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/mod/modpost.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,11 +2145,11 @@ static void check_for_gpl_usage(enum export exp, const char *m, const char *s)
21452145
{
21462146
switch (exp) {
21472147
case export_gpl:
2148-
fatal("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n",
2148+
error("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n",
21492149
m, s);
21502150
break;
21512151
case export_unused_gpl:
2152-
fatal("GPL-incompatible module %s.ko uses GPL-only symbol marked UNUSED '%s'\n",
2152+
error("GPL-incompatible module %s.ko uses GPL-only symbol marked UNUSED '%s'\n",
21532153
m, s);
21542154
break;
21552155
case export_gpl_future:

0 commit comments

Comments
 (0)