Re: [PATCH 10/48] objtool/klp: Fix --debug-checksum for duplicate symbol names

From: Miroslav Benes

Date: Tue Apr 28 2026 - 09:09:28 EST


On Wed, 22 Apr 2026 21:03:38 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> find_symbol_by_name() only returns the first match, so
> --debug-checksum=<func> silently ignores any subsequent duplicately
> named functions after the first.
>
> Add a new iterate_sym_by_name() to fix that.

The patch is ok but is it worth it when you remove it again in 39/48
with a better implementation? Can 39/48 be moved here in the series
instead?

--
Miroslav