diff options
| author | Branislav Radocaj <branislav@radocaj.org> | 2017-09-07 12:26:42 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 15:07:37 -0400 |
| commit | 866af46e6ebbce55dbf6f63ad11a4a9bb3b9abf0 (patch) | |
| tree | 65c34120e8a2ffa832c3c4fcd2f83996dd7df05a /include/linux/workqueue.h | |
| parent | 7e8e809185fa703aa5d88d4b1f2f7054d73ef176 (diff) | |
| download | cachepc-linux-866af46e6ebbce55dbf6f63ad11a4a9bb3b9abf0.tar.gz cachepc-linux-866af46e6ebbce55dbf6f63ad11a4a9bb3b9abf0.zip | |
media: Staging: atomisp: fix alloc_cast.cocci warnings
Remove casting the values returned by memory allocation functions
like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc.
Semantic patch information:
This makes an effort to find cases of casting of values returned by
kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc,
kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes
the casting as it is not required. The result in the patch case may
need some reformatting.
Generated by: scripts/coccinelle/api/alloc/alloc_cast.cocci
Signed-off-by: Branislav Radocaj <branislav@radocaj.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
