Re: [cocci] [PATCH] coccinelle: scripts: coccinelle: devm_free: reduce false positives

From: Julia Lawall

Date: Mon Aug 10 2026 - 02:52:25 EST




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
>