projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
arch
/
powerpc
/
net
/
bpf_jit_comp64.c
diff --git
a/arch/powerpc/net/bpf_jit_comp64.c
b/arch/powerpc/net/bpf_jit_comp64.c
index
f1c9577
..
380cbf9
100644
(file)
--- a/
arch/powerpc/net/bpf_jit_comp64.c
+++ b/
arch/powerpc/net/bpf_jit_comp64.c
@@
-949,7
+949,7
@@
struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
goto skip_init_ctx;
}
- addrs = k
zalloc((flen+1) *
sizeof(*addrs), GFP_KERNEL);
+ addrs = k
calloc(flen + 1,
sizeof(*addrs), GFP_KERNEL);
if (addrs == NULL) {
fp = org_fp;
goto out_addrs;