Re: [PATCH] Coccinelle: alloc_cast: Add more memory allocating functions to the list

2018-01-16 Thread Masahiro Yamada
2018-01-14 0:56 GMT+09:00 Himanshu Jha : > Add more memory allocating functions that are frequently used in the kernel > code to the existing list and remove the useless casts where it is > unnecessary. > > But preserve those casts having __attribute__ such as __force, __iomem, > etc which are used

Re: [PATCH] Coccinelle: alloc_cast: Add more memory allocating functions to the list

2018-01-13 Thread Julia Lawall
On Sat, 13 Jan 2018, Himanshu Jha wrote: > Add more memory allocating functions that are frequently used in the kernel > code to the existing list and remove the useless casts where it is > unnecessary. > > But preserve those casts having __attribute__ such as __force, __iomem, > etc which are u

[PATCH] Coccinelle: alloc_cast: Add more memory allocating functions to the list

2018-01-13 Thread Himanshu Jha
Add more memory allocating functions that are frequently used in the kernel code to the existing list and remove the useless casts where it is unnecessary. But preserve those casts having __attribute__ such as __force, __iomem, etc which are used by Sparse in the static analysis of the code. Also