Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.98 KB | None | 0 0
  1. diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
  2. index 1ec7158..d0e3de9 100644
  3. --- a/scripts/mod/modpost.c
  4. +++ b/scripts/mod/modpost.c
  5. @@ -1,3 +1,4 @@
  6. +/* Modified by Broadcom Corp. Portions Copyright (c) Broadcom Corp, 2012. */
  7.  /* Postprocess module symbol versions
  8.   *
  9.   * Copyright 2003       Kai Germaschewski
  10. @@ -1736,11 +1737,11 @@ static void check_for_gpl_usage(enum export exp, const char *m, const char *s)
  11.        
  12.         switch (exp) {
  13.         case export_gpl:
  14. -               fatal("modpost: GPL-incompatible module %s%s "
  15. +               warn("modpost: GPL-incompatible module %s%s "
  16.                       "uses GPL-only symbol '%s'\n", m, e, s);
  17.                 break;
  18.         case export_unused_gpl:
  19. -               fatal("modpost: GPL-incompatible module %s%s "
  20. +               warn("modpost: GPL-incompatible module %s%s "
  21.                       "uses GPL-only symbol marked UNUSED '%s'\n", m, e, s);
  22.                 break;
  23.         case export_gpl_future:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement