[U-Boot] cmd: replace the cast of the memory access to a fixed bit type in itest

Tom Rini trini at konsulko.com
Mon May 30 19:56:26 CEST 2016


On Wed, May 04, 2016 at 02:20:04PM +0900, Masahiro Yamada wrote:

> From: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
> 
> This patch fixes a bug that long word(.l) memory access in 'itest'
> command reads the 8bytes of the actual memory on 64-bit architecture.
> The cast to the memory pointer should use a fixed bit type.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160530/40816c0a/attachment.sig>


More information about the U-Boot mailing list