From: Julia Lawall Date: Tue, 11 May 2010 18:26:57 +0000 (+0200) Subject: Staging: Drop memory allocation cast X-Git-Tag: v2.6.35-rc1~441^2^2~54 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=324148788bf3744d90fb6894ec5744eb0ca91b74;p=pandora-kernel.git 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/) // @@ type T; @@ - (T *) (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...)) // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed