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)
commit36b0f0deed4fcbe9ff31268e6c3554714e4d2387
treefa154c5ab6a1ae0c09f5cd29559b43e4765ff1f8
parentdd29865633a5535889568b5f38f74a445c227e5d
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