aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_console.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-04 15:03:24 +0200
committerAlexander Graf <agraf@suse.de>2017-10-09 06:59:38 +0200
commite190e8972faf4d5b09e2a92fefc54a1832fd67da (patch)
tree99e581bcd2ab554b264651ad0ec676f2ea1fc5d2 /lib/efi_loader/efi_console.c
parent037ee6f91bb06fb664d57668effdea7656edce25 (diff)
downloadu-boot-e190e8972faf4d5b09e2a92fefc54a1832fd67da.zip
u-boot-e190e8972faf4d5b09e2a92fefc54a1832fd67da.tar.gz
u-boot-e190e8972faf4d5b09e2a92fefc54a1832fd67da.tar.bz2
efi_loader: use type bool for event states
Queued and signaled describe boolean states of events. So let's use type bool and rename the structure members to is_queued and is_signaled. Update the comments for is_queued and is_signaled. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_console.c')
-rw-r--r--lib/efi_loader/efi_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
index fd5398d..1bdf36b 100644
--- a/lib/efi_loader/efi_console.c
+++ b/lib/efi_loader/efi_console.c
@@ -460,7 +460,7 @@ static void EFIAPI efi_console_timer_notify(struct efi_event *event,
{
EFI_ENTRY("%p, %p", event, context);
if (tstc()) {
- efi_con_in.wait_for_key->signaled = 1;
+ efi_con_in.wait_for_key->is_signaled = true;
efi_signal_event(efi_con_in.wait_for_key);
}
EFI_EXIT(EFI_SUCCESS);