From 3b2e3dc939f289323a3f83b1ad64faa0865bf42b Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Sat, 2 Oct 2010 13:04:49 +0200 Subject: [PATCH] virtex: Add braces Signed-off-by: Edgar E. Iglesias --- hw/virtex_ml507.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c index 2af3b81620..c5bbedac7d 100644 --- a/hw/virtex_ml507.c +++ b/hw/virtex_ml507.c @@ -157,8 +157,9 @@ static int xilinx_load_device_tree(target_phys_addr_t addr, fdt = load_device_tree(path, &fdt_size); qemu_free(path); } - if (!fdt) + if (!fdt) { return 0; + } } r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);