From mboxrd@z Thu Jan 1 00:00:00 1970 From: mmarek@suse.com (Michal Marek) Date: Tue, 21 Jun 2016 11:43:46 +0200 Subject: [Cocci] [PATCH v2 1/3] coccinelle: also catch kzfree() issues In-Reply-To: References: <5767EE79.5090402@suse.com> Message-ID: <57690C52.7080207@suse.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr 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 >>>> Signed-off-by: Yann Droneaud >>> >>> Acked-by: Julia Lawall >> >> 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. Np. Applied to kbuild.git#misc now. Michal