lkml.org 
[lkml]   [2024]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] fbdev: Completing error handling for fb_alloc_cmap() calls
From
> @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@web.de/
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

\
 
 \ /
  Last update: 2024-01-03 10:06    [W:0.016 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site