modpost: shorten warning messages in report_sec_mismatch()
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Aug 2022 09:38:59 +0000 (18:38 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 4 Aug 2022 11:32:13 +0000 (20:32 +0900)
commit072dd2c8928f2ecdc52cdf5acf30479b327386c9
tree6366650a8a9ff50c47b80b6d8bea1bccaff54ce2
parenta25efd6ef1ef4c32991a1d5a013dd41e3b8f7eff
modpost: shorten warning messages in report_sec_mismatch()

Each section mismatch results in long warning messages. Too much.

Make each warning fit in one line, and remove a lot of messy code.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c