Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30607
b: refs/heads/master
c: 6449bd6
h: refs/heads/master
i:
  30605: 6ae5c32
  30603: 9ef0628
  30599: 934cf21
  30591: 59f050c
v: v3
  • Loading branch information
Andrew Morton authored and Sam Ravnborg committed Jun 10, 2006
1 parent d4f12e3 commit 6775cf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b817f6feff4a565b08f0e699a5790b4008b8f494
refs/heads/master: 6449bd621ba51ef652ac5bda632eeabbc18dd296
3 changes: 2 additions & 1 deletion trunk/scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,14 +1084,15 @@ void check_license(struct module *mod)
struct symbol *s, *exp;

for (s = mod->unres; s; s = s->next) {
const char *basename;
if (mod->gpl_compatible == 1) {
/* GPL-compatible modules may use all symbols */
continue;
}
exp = find_symbol(s->name);
if (!exp || exp->module == mod)
continue;
const char *basename = strrchr(mod->name, '/');
basename = strrchr(mod->name, '/');
if (basename)
basename++;
switch (exp->export) {
Expand Down

0 comments on commit 6775cf9

Please sign in to comment.