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.
Suggested-by: SF Markus Elfring <[email protected]>
Signed-off-by: Himanshu Jha <[email protected]>
---
v2:
-generated the patch using -M flag for renaming.
-Since Markus earlier worked on renaming this patch adding his name too
.../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)
diff --git a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci b/scripts/coccinelle/api/alloc/zalloc-simple.cocci
similarity index 100%
rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci
rename to scripts/coccinelle/api/alloc/zalloc-simple.cocci
--
2.7.4
On Sun, 14 Jan 2018, 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.
>
> Suggested-by: SF Markus Elfring <[email protected]>
> Signed-off-by: Himanshu Jha <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Thanks.
> ---
> v2:
> -generated the patch using -M flag for renaming.
> -Since Markus earlier worked on renaming this patch adding his name too
> .../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)
>
> diff --git a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci b/scripts/coccinelle/api/alloc/zalloc-simple.cocci
> similarity index 100%
> rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci
> rename to scripts/coccinelle/api/alloc/zalloc-simple.cocci
> --
> 2.7.4
>
>
2018-01-14 5:26 GMT+09:00 Himanshu Jha <[email protected]>:
> 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.
>
> Suggested-by: SF Markus Elfring <[email protected]>
> Signed-off-by: Himanshu Jha <[email protected]>
> ---
> v2:
> -generated the patch using -M flag for renaming.
> -Since Markus earlier worked on renaming this patch adding his name too
> .../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)
>
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
> Applied to linux-kbuild/misc.
How would you like to get a related document updated?
https://bottest.wiki.kernel.org/coccicheck#types_of_tests
Regards,
Markus
On Wed, Jan 17, 2018 at 12:08:46PM +0100, SF Markus Elfring wrote:
> > Applied to linux-kbuild/misc.
>
> How would you like to get a related document updated?
> https://bottest.wiki.kernel.org/coccicheck#types_of_tests
Fixed.
--
Thanks
Himanshu Jha
>> https://bottest.wiki.kernel.org/coccicheck#types_of_tests
>
> Fixed.
How do you think about to mention a date in this document
since when the changed file name may be used?
Regards,
Markus