]> www.infradead.org Git - users/jedix/linux-maple.git/commit
efi/libstub: Simplify GOP handling code
authorArd Biesheuvel <ardb@kernel.org>
Thu, 19 Dec 2024 09:37:40 +0000 (10:37 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 14 Jan 2025 07:35:08 +0000 (08:35 +0100)
commit60a34085c36d6eb292c1e03bc355b1aa3a74a689
tree8ad2a0546870e1184dbbde0da0c0a4ddddb5a995
parentc14bca3f7aa94fd8d3f5e621ce5b56535ef2396b
efi/libstub: Simplify GOP handling code

Use the LocateHandleBuffer() API and a __free() function to simplify the
logic that allocates a handle buffer to iterate over all GOP protocols
in the EFI database.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/gop.c
drivers/firmware/efi/libstub/x86-stub.c