projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix numerous kcalloc() calls, convert to kzalloc()
[powerpc.git]
/
net
/
sunrpc
/
svc.c
diff --git
a/net/sunrpc/svc.c
b/net/sunrpc/svc.c
index
eb44ec9
..
f3001f3
100644
(file)
--- a/
net/sunrpc/svc.c
+++ b/
net/sunrpc/svc.c
@@
-308,7
+308,7
@@
__svc_create(struct svc_program *prog, unsigned int bufsize, int npools,
serv->sv_nrpools = npools;
serv->sv_pools =
- kcalloc(s
izeof(struct svc_pool), serv->sv_nrpools
,
+ kcalloc(s
erv->sv_nrpools, sizeof(struct svc_pool)
,
GFP_KERNEL);
if (!serv->sv_pools) {
kfree(serv);