Re: [PATCH 3/7] efi/libstub: Simplify GOP handling code

From: Lukas Wunner
Date: Fri Dec 20 2024 - 09:07:58 EST


On Fri, Dec 20, 2024 at 12:22:18PM +0100, Ard Biesheuvel wrote:
> 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.

You previously rejected use of LocateHandleBuffer because you saw
a risk of regressing older EFI versions, so that's a surprising move:

https://lore.kernel.org/r/CAKv+Gu_kfnHfiBH__Wnvh39KMPj_-s39YyY=pT3roNv7iPPzrA@xxxxxxxxxxxxxx/

Thanks,

Lukas