]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool: Append "()" to function name in "unexpected end of section" warning
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 1 Apr 2025 04:26:38 +0000 (21:26 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Apr 2025 07:07:12 +0000 (09:07 +0200)
commit188d90f817e13b66e03e110eb6f82e8f5f0d654b
tree5f998b866d59498804a6cf47f04db552145b4d75
parent0d7597749f5a3ac67851d3836635d084df15fb66
objtool: Append "()" to function name in "unexpected end of section" warning

Append with "()" to clarify it's a function.

Before:

  vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock: unexpected end of section .text.cdns_mrvl_xspi_setup_clock

After:

  vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock(): unexpected end of section .text.cdns_mrvl_xspi_setup_clock

Fixes: c5995abe1547 ("objtool: Improve error handling")
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/692e1e0d0b15a71bd35c6b4b87f3c75cd5a57358.1743481539.git.jpoimboe@kernel.org
tools/objtool/check.c