[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1328016225.28171.7.camel@sauron.fi.intel.com>
Date: Tue, 31 Jan 2012 15:23:45 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Barry Song <21cnbao@...il.com>
Cc: Barry Song <Barry.Song@....com>,
Greg Kroah-Hartman <gregkh@...e.de>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
workgroup.linux@....com
Subject: Re: [PATCH 0/3] platform: add platform_devm_request_and_ioremap()
common API
On Tue, 2012-01-31 at 15:16 +0200, Artem Bityutskiy wrote:
> On Tue, 2012-01-31 at 20:57 +0800, Barry Song wrote:
> > > If yes, I think it would be nice of you to give a credit to coccinelle
> > > and its authors for developing this awesome tool in every commit
> > > message.
> >
> > devm_request_and_ioremap() is still something new by commit
>
> Ah, ok. But it would be cool if you could create a coccinell semantic
> patch for this, although I should admit this is not very easy, but a lot
> of fun.
To promote the idea further. If you manage to create a semantic patch
for this, then you will just generate your patches automatically. You
will also be able to make it more probable that people will use this new
api by adding your semantic patch to scripts/coccinelle/api.
I do not know how many people run coccinelle, but I recently started to
check all incoming MTD patches with coccinelle before applying them. A
little bit of scripting and this becomes easy to do.
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists