summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-10-07 19:04:47 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2023-10-18 10:16:09 +0200
commit29ae5c02ed743c62e3c0619013b2bcd280bc562d (patch)
tree0c1b797e78582d7d6c4d1b36326e966df71af756 /block/blk-settings.c
parentmodpost: define TO_NATIVE() using bswap_* functions (diff)
downloadlinux-29ae5c02ed743c62e3c0619013b2bcd280bc562d.tar.xz
linux-29ae5c02ed743c62e3c0619013b2bcd280bc562d.zip
modpost: refactor check_sec_ref()
We can replace &elf->sechdrs[i] with &sechdrs[i] to slightly shorten the code because we already have the local variable 'sechdrs'. However, defining 'sechdr' instead shortens the code further. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions