]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Replace comma by semicolon
authorMichal Simek <michal.simek@xilinx.com>
Thu, 21 Oct 2021 06:58:50 +0000 (08:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 29 Oct 2021 11:01:47 +0000 (13:01 +0200)
Fix issue reported by checkpatch.pl

WARNING: Possible comma where semicolon could be used
 #499: FILE: board/xilinx/zynqmp/zynqmp.c:499:
 + size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE),
 + reg = lmb_alloc(&lmb, size, MMU_SECTION_SIZE);

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/ef264451ef9455ada9784bedbc91f74b94b8a237.1634799528.git.michal.simek@xilinx.com
board/xilinx/zynqmp/zynqmp.c

index 6c17b92f4167e9f342d895e093d2eebbb8e1e67f..dfb5dab7afa3a2095467258d698d6b0e08ea114a 100644 (file)
@@ -496,7 +496,7 @@ ulong board_get_usable_ram_top(ulong total_size)
        lmb_init(&lmb);
        lmb_add(&lmb, gd->ram_base, gd->ram_size);
        boot_fdt_add_mem_rsv_regions(&lmb, (void *)gd->fdt_blob);
-       size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE),
+       size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE);
        reg = lmb_alloc(&lmb, size, MMU_SECTION_SIZE);
 
        if (!reg)