All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] use kzalloc instead of kcalloc(1,
@ 2005-11-27 20:36 Marion Jaillet
  2005-11-27 21:23 ` Nishanth Aravamudan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Marion Jaillet @ 2005-11-27 20:36 UTC (permalink / raw)
  To: kernel-janitors

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-11-29 21:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27 20:36 [KJ] use kzalloc instead of kcalloc(1, Marion Jaillet
2005-11-27 21:23 ` 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

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.