Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77986
b: refs/heads/master
c: d1f25e6
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg committed Jan 28, 2008
1 parent 8969303 commit 84a9959
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: fa220d89ad050cf5d970c0418ded019a80efedfb
refs/heads/master: d1f25e6658943569f2713dfde1b9d74e2f6c7243
3 changes: 2 additions & 1 deletion trunk/scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,8 @@ static void read_symbols(char *modname)
handle_modversions(mod, &info, sym, symname);
handle_moddevtable(mod, &info, sym, symname);
}
if (is_vmlinux(modname) && vmlinux_section_warnings) {
if (!is_vmlinux(modname) ||
(is_vmlinux(modname) && vmlinux_section_warnings)) {
check_sec_ref(mod, modname, &info, init_section, init_section_ref_ok);
check_sec_ref(mod, modname, &info, exit_section, exit_section_ref_ok);
}
Expand Down

0 comments on commit 84a9959

Please sign in to comment.