Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple

2018-01-13 Thread Himanshu Jha
On Sat, Jan 13, 2018 at 05:13:36PM -0200, Fabio Estevam wrote: > On Sat, Jan 13, 2018 at 3:53 PM, Himanshu Jha > wrote: > > > 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 b

Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple

2018-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2018 at 3:53 PM, Himanshu Jha wrote: > 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. You

Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple

2018-01-13 Thread Himanshu Jha
On Sat, Jan 13, 2018 at 03:02:10PM -0200, Fabio Estevam wrote: > On Sat, Jan 13, 2018 at 1:57 PM, Himanshu Jha > 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

Re: [Cocci] [PATCH] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple

2018-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2018 at 1:57 PM, Himanshu Jha 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 > --- > scripts/coccinelle