Re: [PATCH] efi_loader: remove efi_delete_handle on loadfile2

2022-10-16 Thread Ilias Apalodimas
Hi Heinrich, [...] > > -void efi_initrd_deregister(void) > > +efi_status_t efi_initrd_deregister(void) > > { > > + efi_status_t ret; > > + > > if (!efi_initrd_handle) > > - return; > > + return EFI_SUCCESS; > > > > - efi_delete_handle(efi_initrd_handle); > > +

Re: [PATCH] efi_loader: remove efi_delete_handle on loadfile2

2022-10-16 Thread Heinrich Schuchardt
On 10/15/22 23:35, Ilias Apalodimas wrote: Loadfile2 code is installing two protocols on it's own handle and uses efi_delete_handle() to clean it up on failure(s). However commit 05c4c9e21ae6 ("efi_loader: define internal implementations of install/uninstallmultiple") prepares the ground

[PATCH] efi_loader: remove efi_delete_handle on loadfile2

2022-10-15 Thread Ilias Apalodimas
Loadfile2 code is installing two protocols on it's own handle and uses efi_delete_handle() to clean it up on failure(s). However commit 05c4c9e21ae6 ("efi_loader: define internal implementations of install/uninstallmultiple") prepares the ground for us to clean up efi_elete_handle() used in