summaryrefslogtreecommitdiffstats
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-23 18:46:25 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-05-27 09:15:40 +0200
commitc5c468dcc25efc0095361bb63b6255622e22f695 (patch)
treeefdd5e9901d8fe8901d4c293fc4a61d0fc02bae1 /scripts/mksysmap
parentmodpost: remove the unused argument of check_sec_ref() (diff)
downloadlinux-c5c468dcc25efc0095361bb63b6255622e22f695.tar.xz
linux-c5c468dcc25efc0095361bb63b6255622e22f695.zip
modpost: reuse ARRAY_SIZE() macro for section_mismatch()
Move ARRAY_SIZE() from file2alias.c to modpost.h to reuse it in section_mismatch(). Also, move the variable 'check' inside the for-loop. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions