Re: [PATCH 02/48] objtool/klp: Fix .data..once static local non-correlation

From: Josh Poimboeuf

Date: Thu Apr 23 2026 - 19:34:12 EST


On Thu, Apr 23, 2026 at 11:54:39AM -0700, Song Liu wrote:
> On Wed, Apr 22, 2026 at 9:04 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> >
> > While there was once a section named .data.once, it has since been
> > renamed to .data..once with commit dbefa1f31a91 ("Rename .data.once to
> > .data..once to fix resetting WARN*_ONCE"). Fix it.
> >
> > Fixes: dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files")
> > Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
>
> Acked-by: Song Liu <song@xxxxxxxxxx>
>
> Nitpick: shall we match both ".data.once" and ".data..once", so that whoever
> backports klp-build to older kernels will not have a surprise.

Hm, I'm a bit hesitant to do that. One of the nice things about having
this code upstream is that we don't have to start collecting all the
cruft for old kernels.

--
Josh