]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: refactor get_secindex()
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 3 Aug 2022 13:50:13 +0000 (22:50 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 3 Aug 2022 13:56:46 +0000 (22:56 +0900)
commit9ce50340a4b8a7c341001591e0e0a279928b3b48
treefa154c5ab6a1ae0c09f5cd29559b43e4765ff1f8
parenta4a790ab51dde52e2d3ccabe8f5dcd144ab17e4e
modpost: refactor get_secindex()

SPECIAL() is only used in get_secindex(). Squash it.

Make the code more readable with more comments.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.h