diff options
-rw-r--r-- | kernel/kprobes.c | 2 |
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); |