All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface
@ 2022-08-25  5:12 Glenn Washburn
  2022-09-22 17:42 ` Daniel Kiper
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Washburn @ 2022-08-25  5:12 UTC (permalink / raw)
  To: grub-devel, Daniel Kiper; +Cc: Li Gen, Glenn Washburn

From: Li Gen <ligenlive@gmail.com>

The register_key_notify() method should have an output parameter which is a
pointer to the unique handle assigned to the registered notification.

Signed-off-by: Li Gen <ligenlive@gmail.com>
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 include/grub/efi/api.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
index 1ef404622..7325d3c9f 100644
--- a/include/grub/efi/api.h
+++ b/include/grub/efi/api.h
@@ -1442,7 +1442,8 @@ struct grub_efi_simple_text_input_ex_interface
 	grub_efi_status_t
 	(*register_key_notify) (struct grub_efi_simple_text_input_ex_interface *this,
 				grub_efi_key_data_t *key_data,
-				grub_efi_key_notify_function_t key_notification_function);
+				grub_efi_key_notify_function_t key_notification_function,
+				void **notify_handle);
 
 	grub_efi_status_t
 	(*unregister_key_notify) (struct grub_efi_simple_text_input_ex_interface *this,
-- 
2.34.1



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

end of thread, other threads:[~2022-09-22 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25  5:12 [PATCH] efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface Glenn Washburn
2022-09-22 17:42 ` Daniel Kiper

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.