modpost: retrieve the module dependency and CRCs in check_exports()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 24 Apr 2022 19:07:49 +0000 (04:07 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:16:59 +0000 (03:16 +0900)
commit4cae77ac582b430d6ad6fbf0e1b23248997ceac8
tree9afdb5215fc8b3296d80c478b2298754b0154efe
parent23beb44a0effaad1bd627fd134f0301c622deba7
modpost: retrieve the module dependency and CRCs in check_exports()

Do not repeat the similar code.

It is simpler to do this in check_exports() instead of add_versions().

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c