mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: cocci@inria.fr, LKML <linux-kernel@vger.kernel.org>,
	 kernel-janitors@vger.kernel.org,
	Nicolas Palix <nicolas.palix@imag.fr>,
	 Ricardo Ribalda <ribalda@chromium.org>
Subject: Re: [cocci] [PATCH] coccinelle: scripts: coccinelle: devm_free: reduce false positives
Date: Mon, 10 Aug 2026 08:48:42 +0200 (CEST)	[thread overview]
Message-ID: <27fd1773-a8ba-afe3-1cb6-51e4bc94d641@inria.fr> (raw)
In-Reply-To: <ef5b5f36-a1a2-4723-bc34-4ec7a5350ef2@web.de>

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]



On Mon, 10 Aug 2026, Markus Elfring wrote:

> > False positives could be introduced due to allocations using the new
> > _obj functions.  Add these to the "safe" rule accordingly.
>
> Can the SmPL disjunction specification be refined another bit?

As usual, a random comment with no context that makes the reader have to
go look up some other information to have any idea what you are talking
about.

Anyway, since I did take several minutes to go find the file and look at
it, I guess you want the disjunctions to be ordered by frequency in the
code base.  But I'm not going to do that.

> …
> > name has two possible types.  Incorporate type informationt to avoid
> …
>                                                  information?

Thanks.  Fixed.

julia

>
> Regards,
> Markus
>

  reply	other threads:[~2026-08-10  6:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-09 16:53 Julia Lawall
2026-08-10  6:40 ` [cocci] " Markus Elfring
2026-08-10  6:48   ` Julia Lawall [this message]
2026-08-10  7:05     ` Markus Elfring
2026-08-10 14:24     ` Markus Elfring

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=27fd1773-a8ba-afe3-1cb6-51e4bc94d641@inria.fr \
    --to=julia.lawall@inria.fr \
    --cc=Markus.Elfring@web.de \
    --cc=cocci@inria.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.palix@imag.fr \
    --cc=ribalda@chromium.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®