]> www.infradead.org Git - users/jedix/linux-maple.git/commit
efi/libstub: Simplify PCI I/O handle buffer traversal
authorArd Biesheuvel <ardb@kernel.org>
Thu, 19 Dec 2024 10:06:58 +0000 (11:06 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 14 Jan 2025 07:35:27 +0000 (08:35 +0100)
commit90534e689d2e52202c276ade5cf1dfc13d9e116f
treed2365c2795faa887e03dccf34c3ee4dda2b73d9a
parentb52587c5e897e91ad59a59741e8af086151e7fbc
efi/libstub: Simplify PCI I/O handle buffer traversal

Use LocateHandleBuffer() and a __free() cleanup helper to simplify the
PCI I/O handle buffer traversal code.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/pci.c
drivers/firmware/efi/libstub/x86-stub.c