From: sbabic at denx.de Date: Mon, 14 Oct 2019 12:40:28 +0000 (UTC) Subject: [U-Boot] [PATCH 2/4] imx: mmdc_size: Fix checkpatch warnings In-Reply-To: <20190718180425.29472-2-festevam@gmail.com> Message-ID: <20191014124050.D8F09C21E0B@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 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 =====================================================================