diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-10-07 19:04:47 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-10-18 10:16:09 +0200 |
commit | 29ae5c02ed743c62e3c0619013b2bcd280bc562d (patch) | |
tree | 0c1b797e78582d7d6c4d1b36326e966df71af756 /block/blk-settings.c | |
parent | modpost: define TO_NATIVE() using bswap_* functions (diff) | |
download | linux-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