lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1245355633.29927.16.camel@Joe-Laptop.home>
Date:	Thu, 18 Jun 2009 13:07:13 -0700
From:	Joe Perches <joe@...ches.com>
To:	linux-mm <linux-mm@...ck.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] bootmem.c: Avoid c90 declaration warning

Signed-off-by: Joe Perches <joe@...ches.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;
 }


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ