From mboxrd@z Thu Jan 1 00:00:00 1970 From: mmarek@suse.com (Michal Marek) Date: Mon, 20 Jun 2016 15:24:09 +0200 Subject: [Cocci] [PATCH v2 1/3] coccinelle: also catch kzfree() issues In-Reply-To: References: Message-ID: <5767EE79.5090402@suse.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr 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? Thanks, Michal From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753519AbcFTN0K (ORCPT ); Mon, 20 Jun 2016 09:26:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:41766 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbcFTNZk (ORCPT ); Mon, 20 Jun 2016 09:25:40 -0400 Subject: Re: [PATCH v2 1/3] coccinelle: also catch kzfree() issues To: Julia Lawall , Yann Droneaud References: Cc: Gilles Muller , Nicolas Palix , Tejun Heo , Greg Kroah-Hartman , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Johannes Weiner From: Michal Marek Message-ID: <5767EE79.5090402@suse.com> Date: Mon, 20 Jun 2016 15:24:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, Michal