From: "Marion Jaillet" <marion.jaillet@wanadoo.fr>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] use kzalloc instead of kcalloc(1,
Date: Sun, 27 Nov 2005 20:36:51 +0000 [thread overview]
Message-ID: <007001c5f392$4c61cda0$3ec0c756@bureau> (raw)
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
Patch against linux-2.6.14.2
Signed-off-by : Christophe Jaillet
Desc : use kzalloc instead of kcalloc(1,...)
CJ
[-- Attachment #2: patch1.c --]
[-- Type: application/octet-stream, Size: 503 bytes --]
--- arch/ia64/sn/kernel/io_init.c.bak 2005-11-11 06:33:12.000000000 +0100
+++ arch/ia64/sn/kernel/io_init.c 2005-11-27 21:17:18.000000000 +0100
@@ -351,7 +351,7 @@ void sn_pci_controller_fixup(int segment
return; /*bus # does not exist */
prom_bussoft_ptr = __va(prom_bussoft_ptr);
- controller = kcalloc(1,sizeof(struct pci_controller), GFP_KERNEL);
+ controller = kzalloc(sizeof(struct pci_controller), GFP_KERNEL);
controller->segment = segment;
if (!controller)
BUG();
[-- Attachment #3: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next reply other threads:[~2005-11-27 20:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-27 20:36 Marion Jaillet [this message]
2005-11-27 21:23 ` [KJ] use kzalloc instead of kcalloc(1, Nishanth Aravamudan
2005-11-28 1:38 ` Nishanth Aravamudan
2005-11-28 1:41 ` Alexey Dobriyan
2005-11-28 21:40 ` Christophe Jaillet
2005-11-28 21:59 ` Nish Aravamudan
2005-11-28 22:12 ` Jesper Juhl
2005-11-29 21:42 ` Alexey Dobriyan
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='007001c5f392$4c61cda0$3ec0c756@bureau' \
--to=marion.jaillet@wanadoo.fr \
--cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.