summaryrefslogtreecommitdiff
path: root/scripts/module-common.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-08-13 01:54:51 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-01 20:34:49 +0900
commit7a7f974594cd5d6723242cb8c018b59db16fe27b (patch)
tree030d396809e9ca197c31f67f657d63b164f8c81d /scripts/module-common.c
parenta46078d651819c988d36379e8df68cb866eae747 (diff)
modpost: improve the section mismatch warning format
This commit improves the section mismatch warning format when there is no suitable symbol name to print. The section mismatch warning prints the reference source in the form of <symbol_name>+<offset> and the reference destination in the form of <symbol_name>. However, there are some corner cases where <symbol_name> becomes "(unknown)", as reported in commit 23dfd914d2bf ("modpost: fix null pointer dereference"). In such cases, it is better to print the symbol address. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions