2024-01-03 09:06:36

by Markus Elfring

[permalink] [raw]
Subject: Re: [RFC] fbdev: Completing error handling for fb_alloc_cmap() calls

> @addition@
> @@
> +{
> +int rc =
> fb_alloc_cmap(...);
> +if (rc)
> + return rc;
> +}

How do you think about to apply this script for the semantic patch language
so that remaining update candidates will be found?


See also:
Clarification approach “Checking addition of local error code checks”
https://lore.kernel.org/cocci/[email protected]/
https://sympa.inria.fr/sympa/arc/cocci/2024-01/msg00000.html


Do you find further change possibilities still relevant for 23 source files?

Regards,
Markus