Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19623
b: refs/heads/master
c: 54e8ce4
h: refs/heads/master
i:
  19621: 6f84d10
  19619: 50eb9b6
  19615: 4bb7e32
v: v3
  • Loading branch information
Keith Owens authored and Linus Torvalds committed Feb 3, 2006
1 parent 54070f8 commit f639f4b
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: 501fe31df4bb94999fbe9bb42f05527df5525683
refs/heads/master: 54e8ce463a7e21dbe9dad57723ed47653ee5db15
3 changes: 2 additions & 1 deletion trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,8 @@ static unsigned long mod_find_symname(struct module *mod, const char *name)
unsigned int i;

for (i = 0; i < mod->num_symtab; i++)
if (strcmp(name, mod->strtab+mod->symtab[i].st_name) == 0)
if (strcmp(name, mod->strtab+mod->symtab[i].st_name) == 0 &&
mod->symtab[i].st_info != 'U')
return mod->symtab[i].st_value;
return 0;
}
Expand Down

0 comments on commit f639f4b

Please sign in to comment.