Re: [PATCH 4/4] Add scripts/coccinelle/resource_size.cocci

From: Nicolas Palix
Date: Thu May 27 2010 - 07:48:39 EST


On Monday 10 May 2010 18:52:10 Pekka Enberg wrote:
> On Mon, May 10, 2010 at 7:24 PM, Nicolas Palix <npalix@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/