virtex: Add braces
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
2c50e26efd
commit
3b2e3dc939
@ -157,9 +157,10 @@ 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);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user