grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] efinet: correct closing of SNP protocol


From: Heinrich Schuchardt
Subject: [PATCH 0/2] efinet: correct closing of SNP protocol
Date: Wed, 6 Oct 2021 10:30:41 +0200

In the context of the implementation of the EFI_LOAD_FILE2_PROTOCOL for
the initial ramdisk it was observed that opening the SNP protocol failed
(https://lists.gnu.org/archive/html/grub-devel/2021-10/msg00020.html).
This is due to an incorrect call to CloseProtocol().

This is corrected in the first patch.

The second patch provides a new function grub_efi_close_protocol() to
simplify the coding.

Heinrich Schuchardt (2):
  efinet: correct closing of SNP protocol
  efi: library function grub_efi_close_protocol()

 grub-core/kern/efi/efi.c           | 18 ++++++++++++++++++
 grub-core/net/drivers/efi/efinet.c | 30 +++++++++++++++++++++---------
 include/grub/efi/efi.h             |  3 +++
 3 files changed, 42 insertions(+), 9 deletions(-)

-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]