modpost: pass struct elf_info pointer to get_modinfo()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 9 May 2018 09:50:37 +0000 (18:50 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 May 2018 13:44:58 +0000 (22:44 +0900)
commitbca2ccee4c4ac69496d3c8655d7869122fe5aeab
tree6347212949bd36d8a32f2dead582a0f60e573a2f
parenta6b04f0ed5e931d4be5bf466ad469e2ac25ad6da
modpost: pass struct elf_info pointer to get_modinfo()

get_(next_)modinfo takes a pointer and length pair of the .modinfo
section.  Instead, pass struct elf_info pointer to reduce the number
of function arguments.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/mod/modpost.c