modpost: unify 'sym' and 'to' in default_mismatch_handler()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 21 May 2023 16:04:11 +0000 (01:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 May 2023 11:34:05 +0000 (20:34 +0900)
commita23e7584ecf33df2b27ac176185c7b030ab0736f
tree41e117099959301abda499cc3bfc1c75d29ce815
parent05bb0704672dec59cbdc6b901130098ecfe7a846
modpost: unify 'sym' and 'to' in default_mismatch_handler()

find_tosym() takes 'sym' and stores the return value to another
variable 'to'. You can use the same variable because we want to
replace the original one when appropriate.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c