]> 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)
commit2c78ab7be8f5e50d01111cb3ffda9360b2c1034b
treefded9837d0c3617ec67525565044d05e03b08041
parent2fb086dd44d7bf86b0e466761d70ab0f451ec8ba
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