[PATCH] arm64: zynqmp: Replace comma by semicolon

Michal Simek monstr at monstr.eu
Fri Oct 29 13:01:57 CEST 2021



On 10/21/21 08:58, Michal Simek wrote:
> 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 at xilinx.com>
> ---
> 
>   board/xilinx/zynqmp/zynqmp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
> index b24db5306ae0..b13b65182a48 100644
> --- a/board/xilinx/zynqmp/zynqmp.c
> +++ b/board/xilinx/zynqmp/zynqmp.c
> @@ -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)
> 

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs



More information about the U-Boot mailing list