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

Josh Poimboeuf
2026-04-28T16:30:44Z

On Tue, Apr 28, 2026 at 02:12:33PM +0200, Miroslav Benes wrote:
> On Wed, 22 Apr 2026 21:03:38 -0700, Josh Poimboeuf <jpoimboe@kernel.org> 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?

Indeed...

--
Josh