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)
commitf38753d2ef5dabcca78b1a70f2903e7f49d5d846
treeba02d9b5fe2bf6b7f9f61e513069e0bb09945bb2
parent4c4fb10da294ab46196c6f1daf8621f2451c88a5
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