]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: fix HII tests
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 23 Jan 2019 19:36:27 +0000 (20:36 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:06 +0000 (09:40 +0100)
commit7225948f91e8882ee39a900fd141ce999987daa3
treeba02d9b5fe2bf6b7f9f61e513069e0bb09945bb2
parent5395834e24045862acbb37ed5ac598b27b80c456
efi_selftest: fix HII tests

efi_st_printf() does not support format code %ld. Anyway the format code
for size_t would be %zu which isn't supported either.

We do not want any divisions to avoid invalid references to integer
arithmetic routines, cf.
https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html.

As a simple remedy remove the noisy messages from the output.
They are not relevant for automated testing.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_hii.c