From a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a Mon Sep 17 00:00:00 2001 From: Keshavamurthy Anil S Date: Mon, 9 Jan 2006 20:52:46 -0800 Subject: [PATCH] [PATCH] Kprobes: conversion from kcalloc to kzalloc Signed-of-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, 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); -- 2.20.1