Re: [PATCH net-next 2/2] tools: ynl-gen: add regeneration comment

From: Jakub Kicinski

Date: Thu Nov 20 2025 - 20:48:33 EST


On Thu, 20 Nov 2025 10:02:40 -0800 Jakub Kicinski wrote:
> On Thu, 20 Nov 2025 17:44:27 +0000 Asbjørn Sloth Tønnesen wrote:
> > Add a comment on regeneration to the generated files.
> >
> > The comment is placed after the YNL-GEN line[1], as to not interfere
> > with ynl-regen.sh's detection logic.
> >
> > [1] and after the optional YNL-ARG line.
>
> Let's make this comment also optional? Detect whether it's there
> in the bash script and pass appropriate flag to C gen?

Raced responding with Matthieu. Sounds like a strong signal that this
is useful, so let's keep the patch as is. I'll revive it in pw.