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

From: Florian Fainelli
Date: Thu Jun 26 2025 - 13:19:39 EST


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?
--
Florian