git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b696f
)
rpc_pipe: Drop memory allocation cast
author
Himangi Saraogi
<himangi774@gmail.com>
Tue, 10 Jun 2014 14:49:17 +0000
(20:19 +0530)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 22:43:44 +0000
(18:43 -0400)
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>
net/sunrpc/rpc_pipe.c
patch
|
blob
|
history
diff --cc
net/sunrpc/rpc_pipe.c
Simple merge