From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Sat, 3 Oct 2020 13:57:12 +0200 Subject: [PATCH 0/4] efi_loader: fix EFI_LOAD_FILE2_PROTOCOL Message-ID: <20201003115716.38058-1-xypron.glpk@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The EFI_LOAD_FILE2_PROTOCOL is used to provide an initial RAM disk to the Linux EFI stub. The following problems in the implementation are addressed: * illegal free() * insufficient function descriptions * CRC32 in unit test printed as decimal instead of hexadecimal Heinrich Schuchardt (4): efi_loader: description EFI_LOAD_FILE2_PROTOCOL efi_loader: illegal free in EFI_LOAD_FILE2_PROTOCOL efi_selftest: enable printing hexadecimal numbers efi_selftest: print CRC32 of initrd as hexadecimal lib/efi_loader/efi_load_initrd.c | 59 +++++++++++---------- lib/efi_selftest/efi_selftest_console.c | 35 +++++++----- lib/efi_selftest/efi_selftest_load_initrd.c | 2 +- 3 files changed, 55 insertions(+), 41 deletions(-) -- 2.28.0