mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: linux-fbdev@vger.kernel.org, kernel-janitors@vger.kernel.org,
	Helge Deller <deller@gmx.de>
Cc: cocci@inria.fr, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] fbdev: Completing error handling for fb_alloc_cmap() calls
Date: Wed, 3 Jan 2024 10:06:18 +0100	[thread overview]
Message-ID: <bb11fd85-1fa7-429b-a379-f4a92f7f0f88@web.de> (raw)
In-Reply-To: <913bb6fa-c168-46f7-ba39-5fdaae586b6e@web.de>

> @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

           reply	other threads:[~2024-01-03  9:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <913bb6fa-c168-46f7-ba39-5fdaae586b6e@web.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bb11fd85-1fa7-429b-a379-f4a92f7f0f88@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@inria.fr \
    --cc=deller@gmx.de \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®