From: Keshavamurthy Anil S Date: Tue, 10 Jan 2006 04:52:46 +0000 (-0800) Subject: [PATCH] Kprobes: conversion from kcalloc to kzalloc X-Git-Tag: v2.6.16-rc1~572 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a;p=linux-2.6-omap-h63xx.git [PATCH] Kprobes: conversion from kcalloc to kzalloc Signed-of-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/kprobes.c b/kernel/kprobes.c index f24cbab558f..34a885bb82e 100644 --- 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 = kcalloc(1, sizeof(struct kprobe), GFP_KERNEL); + ap = kzalloc(sizeof(struct kprobe), GFP_KERNEL); if (!ap) return -ENOMEM; add_aggr_kprobe(ap, old_p);