Re: [PATCH v2 1/3] coccinelle: also catch kzfree() issues

From: Yann Droneaud
Date: Tue Jun 21 2016 - 08:22:01 EST


Hi,

Le mardi 21 juin 2016 Ã 11:43 +0200, Michal Marek a ÃcritÂ:
> Dne 20.6.2016 v 22:21 Julia Lawall napsal(a):
> > On Mon, 20 Jun 2016, Michal Marek wrote:
> > On 2016-05-23 17:18, Julia Lawall wrote:
> > > > On Mon, 23 May 2016, Yann Droneaud wrote:
> > > >
> > > > > Since commit 3ef0e5ba4673 ('slab: introduce kzfree()'),
> > > > > kfree() is no more the only function to be considered:
> > > > > kzfree() should be recognized too.
> > > > >
> > > > > In particular, kzfree() must not be called on memory
> > > > > allocated through devm_*() functions.
> > > > >
> > > > > Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> > > > > Signed-off-by: Yann Droneaud <ydroneaud@xxxxxxxxxx>
> > > >
> > > > Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> > >
> > > Hi Julia,
> > >
> > > does your ACK apply to the other two patches as well?
> >
> > Sorry, I seem to have missed the other two.ÂÂI have reviewed them
> > now, and the ack applies to all three.ÂÂThanks for checking on it.
>

Back in February, those two other patches were already Acked-by:

http://lkml.kernel.org/r/alpine.DEB.2.10.1602161818100.2685@hadrien
http://lkml.kernel.org/r/alpine.DEB.2.10.1602161819340.2685@hadrien

I've (re)sent them with added Acked-by:, and thought it would not
require further Acked-by:.

Anyway, this one was new and required proper review. Thanks a lot.

> Np. Applied to kbuild.git#misc now.
>

Thanks a lot.

--Â
Yann Droneaud
OPTEYA