aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeshavamurthy Anil S <anil.s.keshavamurthy@intel.com>2006-01-09 23:52:46 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:01:41 -0500
commita0d50069ed3620e9a4d8939bbc3e0d5a692ab58a (patch)
tree219097fa753bfe0dc8f3d6290fc6aa20730005fe
parent0498b63504f818e5ab39c818cd6f7b41319a1187 (diff)
[PATCH] Kprobes: conversion from kcalloc to kzalloc
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>
-rw-r--r--kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index f24cbab558f1..34a885bb82e0 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -431,7 +431,7 @@ static int __kprobes register_aggr_kprobe(struct kprobe *old_p,
431 copy_kprobe(old_p, p); 431 copy_kprobe(old_p, p);
432 ret = add_new_kprobe(old_p, p); 432 ret = add_new_kprobe(old_p, p);
433 } else { 433 } else {
434 ap = kcalloc(1, sizeof(struct kprobe), GFP_KERNEL); 434 ap = kzalloc(sizeof(struct kprobe), GFP_KERNEL);
435 if (!ap) 435 if (!ap)
436 return -ENOMEM; 436 return -ENOMEM;
437 add_aggr_kprobe(ap, old_p); 437 add_aggr_kprobe(ap, old_p);