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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @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/913bb6fa-c168-46f7-ba39-5fdaae586b6e@xxxxxx/
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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux