All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] efinet: correct closing of SNP protocol
@ 2021-10-06  8:30 Heinrich Schuchardt
  2021-10-06  8:30 ` [PATCH 1/2] " Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2021-10-06  8:30 UTC (permalink / raw)
  To: Daniel Kiper
  Cc: Andrei Borzenkov, Vladimir 'phcoder' Serbinenko,
	Nikita Ermakov, Ard Biesheuvel, Atish Patra, Leif Lindholm,
	Andreas Schwab, GRUB development mailing list,
	Heinrich Schuchardt

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-23 17:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06  8:30 [PATCH 0/2] efinet: correct closing of SNP protocol Heinrich Schuchardt
2021-10-06  8:30 ` [PATCH 1/2] " Heinrich Schuchardt
2021-11-23 17:52   ` Daniel Kiper
2021-10-06  8:30 ` [PATCH 2/2] efi: library function grub_efi_close_protocol() Heinrich Schuchardt
2021-11-23 17:59   ` Daniel Kiper
2021-10-06 14:28 ` [PATCH 0/2] efinet: correct closing of SNP protocol Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.