Re: [PATCH net-next 2/2] tools: ynl-gen: add regeneration comment
From: Jakub Kicinski
Date: Thu Nov 20 2025 - 13:02:43 EST
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?
--
pw-bot: cr