[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180113175353.GA3513@himanshu-Vostro-3559>
Date: Sat, 13 Jan 2018 23:23:53 +0530
From: Himanshu Jha <himanshujha199640@...il.com>
To: Fabio Estevam <festevam@...il.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
michal.lkml@...kovi.net, nicolas.palix@...g.fr,
linux-kernel <linux-kernel@...r.kernel.org>,
cocci@...teme.lip6.fr
Subject: Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename
kzalloc-simple to zalloc-simple
On Sat, Jan 13, 2018 at 03:02:10PM -0200, Fabio Estevam wrote:
> On Sat, Jan 13, 2018 at 1:57 PM, Himanshu Jha
> <himanshujha199640@...il.com> wrote:
> > Rename kzalloc-simple to zalloc-simple since now the rule is not
> > specific to kzalloc function only, but also to many other zero memory
> > allocating functions specified in the rule.
> >
> > Signed-off-by: Himanshu Jha <himanshujha199640@...il.com>
> > ---
> > scripts/coccinelle/api/alloc/kzalloc-simple.cocci | 448 ----------------------
> > scripts/coccinelle/api/alloc/zalloc.cocci | 448 ++++++++++++++++++++++
>
> You could use 'git mv' and 'git format -1 -M', so that git detects the rename.
Yes, I used 'git mv'.
It doesn't matter when applying through 'git am', both will result the
same AFAIK and only difference is that the patch files generated by 'git
format-patch' are different. But that is not important I think.
Masahiro if have any problem then please tell me, I can send again as
stated by Fabio.
--
Thanks
Himanshu Jha
Powered by blists - more mailing lists