[U-Boot] [PATCH 2/4] imx: mmdc_size: Fix checkpatch warnings

sbabic at denx.de sbabic at denx.de
Mon Oct 14 12:40:28 UTC 2019


> The original imx_ddr_size() implementation had some
> issues reported by checkpatch like this:
> CHECK: Prefer kernel type 'u32' over 'uint32_t'
> #127: FILE: arch/arm/mach-imx/mmdc_size.c:16:
> +	uint32_t	ctl;
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> #151: FILE: arch/arm/mach-imx/mmdc_size.c:40:
> +	unsigned ctl = readl(&mem->ctl);
> Fix all of them.
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the U-Boot mailing list