From: takis@issaris.org (Panagiotis Issaris)
To: ericvh@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fs/9p: Replace kcalloc(1, with kzalloc.
Date: Wed, 9 Nov 2005 02:01:36 +0100 (CET) [thread overview]
Message-ID: <20051109010136.6B9E020A1A@localhost.localdomain> (raw)
Hi Mr. Van Hensbergen,
This patch replaces one occurrence of kcalloc(1, with kzalloc.
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
---
fs/9p/vfs_super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: c0c8a05b248582cb02cf7cf28f12b5cbe1ffb154
2b4e5bf2ea05f5d5938925e15961b26b0197be56
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 82c5b00..7aa2e66 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -123,7 +123,7 @@ static struct super_block *v9fs_get_sb(s
dprintk(DEBUG_VFS, " \n");
- v9ses = kcalloc(1, sizeof(struct v9fs_session_info), GFP_KERNEL);
+ v9ses = kzalloc(sizeof(struct v9fs_session_info), GFP_KERNEL);
if (!v9ses)
return ERR_PTR(-ENOMEM);
---
0.99.9.GIT
reply other threads:[~2005-11-09 1:02 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=20051109010136.6B9E020A1A@localhost.localdomain \
--to=takis@issaris.org \
--cc=ericvh@gmail.com \
--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®