From: Julia Lawall Date: Tue, 11 May 2010 18:28:14 +0000 (+0200) Subject: fs/ocfs2/dlm: Drop memory allocation cast X-Git-Tag: v2.6.35-rc1~469^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3914ed0cec6532ab4feb202424fc95ad05024497;p=pandora-kernel.git fs/ocfs2/dlm: 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: Joel Becker --- Reading git-diff-tree failed