diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-10 16:49:17 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-13 00:43:44 +0200 |
commit | adcda652c92c4881f74cca7f9ca3388bb498d997 (patch) | |
tree | d71d14d95dce47713ea93f889de0b2ab7cee3e8e /fs | |
parent | fs/nfs_common/nfsacl.c: move EXPORT symbol after functions (diff) | |
download | linux-adcda652c92c4881f74cca7f9ca3388bb498d997.tar.xz linux-adcda652c92c4881f74cca7f9ca3388bb498d997.zip |
rpc_pipe: Drop memory allocation cast
Drop cast on the result of kmalloc and similar functions.
The semantic patch that makes this change is as follows:
// <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: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions