On 2026-01-09 03:37, Markus Elfring wrote:
My conclusion is that this WARN is just unnecessary.
Would you like to omit such a questionable macro call then?

I don't feel strongly about it. I already submitted Haoxiang's patch.




But it's also harmless.
How do you think about to avoid special development concerns here?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.19-rc4#n1242

No. I think the WARN is used exactly as it was meant to be here: to check for something that should never happen.

Regards,
  Felix



Regards,
Markus

Reply via email to