diff options
| author | Evgeny Bachinin <[email protected]> | 2023-03-20 11:23:13 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-03-30 15:09:59 -0400 |
| commit | 0d73c238425bb6218b38d0d35c950b03230e2e5a (patch) | |
| tree | 2ed6e7457868bcc136fe21a6b160ea052d968f84 /cmd | |
| parent | dd1f34a9b9a0fa7e10fef05641f54955006565e3 (diff) | |
test: fdt: fix run_commandf() warnings
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 <[email protected]>
Cc: Marek Vasut <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
[trini: Fixup testcases added since patch was posted]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
