[PATCH v2 3/4] test: fdt: fix run_commandf() warnings

Tom Rini trini at konsulko.com
Fri Mar 31 16:15:24 CEST 2023


On Mon, Mar 20, 2023 at 11:23:13AM +0300, Evgeny Bachinin wrote:

> Fix warnings both for 32bit and 64bit architecture after adding
> printf-like attribute format for run_commandf():
> warning: format ‘%x’ expects argument of type ‘unsigned int’, but
>   argument 2 has type ‘ulong {aka long unsigned int}’ [-Wformat=]
>   ret = run_commandf("fdt addr -c %08x", addr);
>                      ^
> Signed-off-by: Evgeny Bachinin <EABachinin at sberdevices.ru>
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/7fe13358/attachment.sig>


More information about the U-Boot mailing list