]> asedeno.scripts.mit.edu Git - linux.git/commit
Coccinelle: alloc_cast: Add more memory allocating functions to the list
authorHimanshu Jha <himanshujha199640@gmail.com>
Sat, 13 Jan 2018 15:56:30 +0000 (21:26 +0530)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Jan 2018 14:38:53 +0000 (23:38 +0900)
commitd8e7eb51b03d83910d2dec48c5df4ec419a6bcff
tree1ce3c70770056f7701b585e92d4e816b0603951c
parentcb00a4f3dbd622acea1059c9da40131b8733d24e
Coccinelle: alloc_cast: Add more memory allocating functions to the list

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 remove two blank lines at EOF.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/coccinelle/api/alloc/alloc_cast.cocci