Re: [PATCH 2/3] checkpatch: recognize __chkp_no_side_effects(_var) hint macro
From: Joe Perches
Date: Sun Oct 26 2025 - 12:48:59 EST
On Sat, 2025-10-25 at 15:15 -0600, Jim Cromie wrote:
> Teach checkpatch --strict to allow an author to suppress specific
> var-reuse complaints:
It seems to me that annotating source code to silence checkpatch
isn't a great idea.
If it is a great idea, maybe a general CHECKPATCH_ON/OFF(type)
mechanism might be better than specific controls.