Re: [PATCH] coccinelle: misc: minmax: Suppress reports for err returns

From: Markus Elfring
Date: Tue Apr 16 2024 - 07:31:02 EST



> +++ b/scripts/coccinelle/misc/minmax.cocci
> @@ -50,11 +50,26 @@ func(...)
> ...>
> }
>
> +// Ignore errcode returns.
> +@errcode@


I see that you would like to omit the specification “depends on patch”
from the previous SmPL rule location.

Would you really like to influence and adjust SmPL code any more
according to affected coccicheck operation modes?

Regards,
Markus