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://review.tizen.org/git/?a=commitdiff_plain;h=a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a;p=platform%2Fkernel%2Flinux-3.10.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 f24cbab..34a885b 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);