Re: [PATCH] scripts/gdb: Fix dentry_name() lookup

From: Andrew Morton
Date: Thu Jun 26 2025 - 18:09:39 EST


On Thu, 26 Jun 2025 10:19:25 -0700 Florian Fainelli <florian.fainelli@xxxxxxxxxxxx> wrote:

> Hi Illia,
>
> On 6/26/25 10:01, Illia Ostapyshyn wrote:
> > Hi Florian,
> >
> > I have previously submitted (and resent due to inactivity) an equivalent
> > patch here:
> >
> > https://lore.kernel.org/all/20250428142117.3455683-1-illia@xxxxxxxxx/
> > https://lore.kernel.org/all/20250525213709.878287-2-illia@xxxxxxxxx/
>
> Ah my bad, I had not seen your submission, then it should be taken
> instead of mine, but with the Fixes: tag added so that your patch can
> get back ported to stable trees.
>
> >
> > However, looks like d_shortname is not suitable for entries with name
> > longer than D_NAME_INLINE_LEN characters. Although this matches the
> > previous behavior of the GDB script (before 58cf9c383c5c68666808), I was
> > planning to resubmit a v2 that addresses this issue as well.
>
> Sure, please do! Andrew can you drop my patch in favor of Illia's when
> it shows up?

I've moved your "scripts/gdb: Fix dentry_name() lookup" into mm.git's
non-rebasing mm-hotfixes-stable branch in preparation for upstreaming
today or tomorrow. So I'd prefer not to mess with it now.

Illia, can you please propose your fix against a tree which contains
Florian's patch?