Remove casting the values returned by memory allocation functions like
kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc."

Found by coccinelle spatch "api/alloc/alloc_cast.cocci"

Run against version v4.14-rc1

Let me know when you as a maintainer are not interested in these kind of 
patches.
I can exclude you by path; e.g. all findings in "drivers/scsi" will never
be reported again by this semi-automatic program runs.

Reply via email to