From: Glenn Washburn <development@efficientek.com>
To: grub-devel@gnu.org, Daniel Kiper <dkiper@net-space.pl>
Cc: Li Gen <ligenlive@gmail.com>,
Glenn Washburn <development@efficientek.com>
Subject: [PATCH] efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface
Date: Thu, 25 Aug 2022 00:12:17 -0500 [thread overview]
Message-ID: <20220825051216.127081-1-development@efficientek.com> (raw)
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
next reply other threads:[~2022-08-25 5:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 5:12 Glenn Washburn [this message]
2022-09-22 17:42 ` [PATCH] efi: Correct function prototype for register_key_notify method of grub_efi_simple_text_input_ex_interface Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220825051216.127081-1-development@efficientek.com \
--to=development@efficientek.com \
--cc=dkiper@net-space.pl \
--cc=grub-devel@gnu.org \
--cc=ligenlive@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.