efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface
PATCH 1/1 efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface
From: Li Gen <[email protected]>
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 <[email protected]>
Signed-off-by Glenn Washburn <[email protected]>
--- include/grub/efi/api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/grub/efi/api.h +2 -1
@@ -1442,7 +1442,8 @@ struct grub_efi_simple_text_input_ex_interfacegrub_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,
Signature · 1 line
2.34.1
Quoted 7 lines · Glenn Washburn
From: Li Gen <[email protected]>
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 <[email protected]>Signed-off-by Glenn Washburn <[email protected]>
Reviewed-by Daniel Kiper <[email protected]>
Daniel