]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: move *.mod.c generation to write_mod_c_files()
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 5 May 2022 07:22:33 +0000 (16:22 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 11 May 2022 12:46:38 +0000 (21:46 +0900)
commit91f81d3e1420defebc9eec2dc5e0bc1333b9aa8a
treefded9837d0c3617ec67525565044d05e03b08041
parentdd83bf6412f0bcf6d4686d36f99bf9b612c2457c
modpost: move *.mod.c generation to write_mod_c_files()

A later commit will add more code to this list_for_each_entry loop.

Before that, move the loop body into a separate helper function.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Tested-by: Nathan Chancellor <nathan@kernel.org>
scripts/mod/modpost.c