commit | 324148788bf3744d90fb6894ec5744eb0ca91b74 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue May 11 20:26:57 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue May 11 16:06:48 2010 -0700 |
tree | bb6a978e2c0ee43fd1588a898e9277f619b31c91 | |
parent | a05d08c40c0775e4691cffcfbfceeb4270987208 [diff] |
Staging: Drop memory allocation cast Drop cast on the result of kmalloc and similar functions. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; @@ - (T *) (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...)) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>