diff options
| author | Simon Glass <sjg@chromium.org> | 2021-02-07 14:27:05 -0700 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-03-13 13:14:52 -0500 |
| commit | 634f5ad3aeb7d188d2529c88f31f7902ed3c17cd (patch) | |
| tree | 4132c4995ff566bf13cd582caa82a21e2bd4b98b /scripts/objdiff | |
| parent | e7c920a22800ade845a656f7925c1977e69e95b1 (diff) | |
| download | u-boot-634f5ad3aeb7d188d2529c88f31f7902ed3c17cd.tar.gz u-boot-634f5ad3aeb7d188d2529c88f31f7902ed3c17cd.tar.xz u-boot-634f5ad3aeb7d188d2529c88f31f7902ed3c17cd.zip | |
test: acpi: Fix warnings on 32-bit build
Some format strings use the wrong type. Fix them.
Example warnings:
In file included from test/dm/acpi.c:22:
test/dm/acpi.c: In function ‘dm_test_acpi_cmd_list’:
test/dm/acpi.c:362:21: warning: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=]
ut_assert_nextline("RSDP %08lx %06lx (v02 U-BOOT)", addr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(struct acpi_rsdp));
~~~~~~~~~~~~~~~~~~~~~~~~
include/test/ut.h:282:33: note: in definition of macro ‘ut_assert_nextline’
if (ut_check_console_line(uts, fmt, ##args)) { \
^~~
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
