All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bootmem.c: Avoid c90 declaration warning
@ 2009-06-18 20:07 ` Joe Perches
  0 siblings, 0 replies; 9+ messages in thread
From: Joe Perches @ 2009-06-18 20:07 UTC (permalink / raw)
  To: linux-mm; +Cc: LKML, Andrew Morton

Signed-off-by: Joe Perches <joe@perches.com>

diff --git a/mm/bootmem.c b/mm/bootmem.c
index 282df0a..09d9c98 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -536,11 +536,13 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
 		return kzalloc(size, GFP_NOWAIT);
 
 #ifdef CONFIG_HAVE_ARCH_BOOTMEM
+	{
 	bootmem_data_t *p_bdata;
 
 	p_bdata = bootmem_arch_preferred_node(bdata, size, align, goal, limit);
 	if (p_bdata)
 		return alloc_bootmem_core(p_bdata, size, align, goal, limit);
+	}
 #endif
 	return NULL;
 }



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

end of thread, other threads:[~2009-06-19 16:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 20:07 [PATCH] bootmem.c: Avoid c90 declaration warning Joe Perches
2009-06-18 20:07 ` Joe Perches
2009-06-18 20:24 ` Andrew Morton
2009-06-18 20:24   ` Andrew Morton
2009-06-18 21:57   ` Johannes Weiner
2009-06-18 21:57     ` Johannes Weiner
2009-06-19  0:26     ` Yinghai Lu
2009-06-19 16:43       ` Johannes Weiner
2009-06-19 16:43         ` Johannes Weiner

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.