commit | 3914ed0cec6532ab4feb202424fc95ad05024497 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue May 11 20:28:14 2010 +0200 |
committer | Joel Becker <joel.becker@oracle.com> | Tue May 18 12:31:10 2010 -0700 |
tree | 034377b0e2cf83e3a6fca5883ea8e4e5191a469a | |
parent | c1631d4a484fbb498e35d661f1aebd64c86b66bf [diff] |
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/) // <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: Joel Becker <joel.becker@oracle.com>