From: takis@issaris.org (Panagiotis Issaris)
To: linux-kernel@vger.kernel.org
Subject: [PATCH] kernel: Replace kcalloc(1, with kzalloc.
Date: Wed, 9 Nov 2005 01:54:27 +0100 (CET) [thread overview]
Message-ID: <20051109005427.462A420A1A@localhost.localdomain> (raw)
Replace kcalloc(1, ... by kzalloc.
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
---
kernel/kprobes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: 9ca77cd1b92bf258e069b0d08b61a7812ac0c7d8
3cac421d544b4cf6381e1ebe41fcb6d995e4f150
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index 5beda37..3ae9842 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -420,7 +420,7 @@ static int __kprobes register_aggr_kprob
copy_kprobe(old_p, p);
ret = add_new_kprobe(old_p, p);
} else {
- ap = kcalloc(1, sizeof(struct kprobe), GFP_ATOMIC);
+ ap = kzalloc(sizeof(struct kprobe), GFP_ATOMIC);
if (!ap)
return -ENOMEM;
add_aggr_kprobe(ap, old_p);
---
0.99.9.GIT
reply other threads:[~2005-11-09 0:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051109005427.462A420A1A@localhost.localdomain \
--to=takis@issaris.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®