Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbdLZUYV (ORCPT ); Tue, 26 Dec 2017 15:24:21 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:39941 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbdLZUYT (ORCPT ); Tue, 26 Dec 2017 15:24:19 -0500 X-Google-Smtp-Source: ACJfBovoGw5s6CZ3ZeviFYciEn4j1XEtte6f4DhvkAy3EwmkGXjMIUNoj3uzLiDIyRReceDigdymeA== Date: Wed, 27 Dec 2017 01:54:10 +0530 From: Himanshu Jha To: Fabio Estevam Cc: Julia Lawall , michal.lkml@markovi.net, nicolas.palix@imag.fr, linux-kernel , cocci@systeme.lip6.fr Subject: Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Add all zero allocating functions Message-ID: <20171226202410.GA12081@himanshu-Vostro-3559> References: <20171226194939.GB10937@himanshu-Vostro-3559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 30 On Tue, Dec 26, 2017 at 06:14:07PM -0200, Fabio Estevam wrote: > On Tue, Dec 26, 2017 at 5:49 PM, Himanshu Jha > wrote: > > > diff --git a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci b/scripts/coccinelle/api/alloc/kzalloc-simple.cocci > > index 52c55e4..f94888d 100644 > > --- a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci > > +++ b/scripts/coccinelle/api/alloc/kzalloc-simple.cocci > > @@ -1,5 +1,5 @@ > > /// > > -/// Use kzalloc rather than kmalloc followed by memset with 0 > > +/// Use zeroing allocator rather than allocator followed by memset with 0 > > /// > > /// This considers some simple cases that are common and easy to validate > > /// Note in particular that there are no ...s in the rule, so all of the > > @@ -8,6 +8,7 @@ > > // Confidence: High > > // Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2. > > // Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. GPLv2. > > +// Cpoyright: (C) 2017 Himanshu Jha GPLv2. > > Typo here in "Copyright" Oops! Thank you so much! I will send v2 patch with other necessary changes that Julia pointed me out in the SmPL rule. Himanshu Jha