[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>
This commit is contained in:
Keshavamurthy Anil S 2006-01-09 20:52:46 -08:00 committed by Linus Torvalds
parent 0498b63504
commit a0d50069ed
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ static int __kprobes register_aggr_kprobe(struct kprobe *old_p,
copy_kprobe(old_p, p); copy_kprobe(old_p, p);
ret = add_new_kprobe(old_p, p); ret = add_new_kprobe(old_p, p);
} else { } else {
ap = kcalloc(1, sizeof(struct kprobe), GFP_KERNEL); ap = kzalloc(sizeof(struct kprobe), GFP_KERNEL);
if (!ap) if (!ap)
return -ENOMEM; return -ENOMEM;
add_aggr_kprobe(ap, old_p); add_aggr_kprobe(ap, old_p);