From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Palix Date: Thu, 27 May 2010 11:48:30 +0000 Subject: Re: [PATCH 4/4] Add scripts/coccinelle/resource_size.cocci Message-Id: <201005271348.31452.npalix@diku.dk> List-Id: References: <1273508667-5152-1-git-send-email-npalix@diku.dk> <1273508667-5152-5-git-send-email-npalix@diku.dk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Pekka Enberg Cc: Randy Dunlap , Roland Dreier , Joe Perches , Andrew Morton , "David S. Miller" , Michal Marek , Sam Ravnborg , Julia Lawall , Gilles Muller , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, cocci@diku.dk, Wolfram Sang , Kernel Janitors On Monday 10 May 2010 18:52:10 Pekka Enberg wrote: > On Mon, May 10, 2010 at 7:24 PM, Nicolas Palix wrote: > > @@ -0,0 +1,94 @@ > > +/// > > +/// Use resource_size function on resource object > > +/// instead of explicit computation. > > +/// > > +// Confidence: High > > +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. > > +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. > > +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. > > +// URL: http://coccinelle.lip6.fr/ > > +// Options: > > +// > > +// Keywords: resource_size > > +// Version min: 2.6.27 resource_size > > I guess we don't need this versioning in mainline? > It's indeed not essential for the mainline. It's however helpful to document the internal APIs and will help people who want to (back)port this patch series on other branches, potentially branches forked before 2.6.27 for instance. -- Nicolas Palix From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgw1.diku.dk ([130.225.96.91]:49419 "EHLO mgw1.diku.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755421Ab0E0Lse (ORCPT ); Thu, 27 May 2010 07:48:34 -0400 From: Nicolas Palix Subject: Re: [PATCH 4/4] Add scripts/coccinelle/resource_size.cocci Date: Thu, 27 May 2010 13:48:30 +0200 References: <1273508667-5152-1-git-send-email-npalix@diku.dk> <1273508667-5152-5-git-send-email-npalix@diku.dk> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005271348.31452.npalix@diku.dk> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Pekka Enberg Cc: Randy Dunlap , Roland Dreier , Joe Perches , Andrew Morton , "David S. Miller" , Michal Marek , Sam Ravnborg , Julia Lawall , Gilles Muller , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, cocci@diku.dk, Wolfram Sang , Kernel Janitors On Monday 10 May 2010 18:52:10 Pekka Enberg wrote: > On Mon, May 10, 2010 at 7:24 PM, Nicolas Palix wrote: > > @@ -0,0 +1,94 @@ > > +/// > > +/// Use resource_size function on resource object > > +/// instead of explicit computation. > > +/// > > +// Confidence: High > > +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. > > +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. > > +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. > > +// URL: http://coccinelle.lip6.fr/ > > +// Options: > > +// > > +// Keywords: resource_size > > +// Version min: 2.6.27 resource_size > > I guess we don't need this versioning in mainline? > It's indeed not essential for the mainline. It's however helpful to document the internal APIs and will help people who want to (back)port this patch series on other branches, potentially branches forked before 2.6.27 for instance. -- Nicolas Palix