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

2023-03-31 Thread Tom Rini
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

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

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, 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}’

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

2023-03-20 Thread Evgeny Bachinin
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);