Skip to content

Commit

Permalink
[squash] modpost: rebase for v5.0
Browse files Browse the repository at this point in the history
Note: squash with ("modpost: Integrate klp-convert")

commit bca2cce ("modpost: pass struct elf_info pointer to
get_modinfo()") simplified the interface for get_modinfo(), adjust our
call accordingly.

[joe: rebase for v5.0]

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
  • Loading branch information
joe-lawrence committed Mar 18, 2019
1 parent 6b82181 commit ab82f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ static void read_symbols(const char *modname)
}

/* Livepatch modules have unresolved symbols resolved by klp-convert */
if (get_modinfo(info.modinfo, info.modinfo_len, "livepatch"))
if (get_modinfo(&info, "livepatch"))
mod->livepatch = 1;

for (sym = info.symtab_start; sym < info.symtab_stop; sym++) {
Expand Down

0 comments on commit ab82f72

Please sign in to comment.