projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0498b63
)
[PATCH] Kprobes: conversion from kcalloc to kzalloc
author
Keshavamurthy Anil S
<anil.s.keshavamurthy@intel.com>
Tue, 10 Jan 2006 04:52:46 +0000
(20:52 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:41 +0000
(08:01 -0800)
Signed-of-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/kprobes.c
patch
|
blob
|
history
diff --git
a/kernel/kprobes.c
b/kernel/kprobes.c
index
f24cbab
..
34a885b
100644
(file)
--- a/
kernel/kprobes.c
+++ b/
kernel/kprobes.c
@@
-431,7
+431,7
@@
static int __kprobes register_aggr_kprobe(struct kprobe *old_p,
copy_kprobe(old_p, p);
ret = add_new_kprobe(old_p, p);
} else {
- ap = k
calloc(1,
sizeof(struct kprobe), GFP_KERNEL);
+ ap = k
zalloc(
sizeof(struct kprobe), GFP_KERNEL);
if (!ap)
return -ENOMEM;
add_aggr_kprobe(ap, old_p);