efi_loader: wrong type in wait_for_event
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Oct 2017 14:35:54 +0000 (16:35 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:30 +0000 (07:00 +0200)
commitca379e1bf16e59841f15ed34088eb1362bf2bd35
tree4b3ba5280518334b831dd8e580f7986e355db71d
parent5a9682d0ddd9328eb581b18a8b263c3834943942
efi_loader: wrong type in wait_for_event

The UEFI spec defines parameter index of WaitForEvent as UINTN*.
So we should use size_t here.

I deliberately do not use UINTN because I hold a following patch
that will eliminate UINTN because uppercase types to not match
the U-Boot coding style.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
lib/efi_loader/efi_boottime.c
lib/efi_selftest/efi_selftest_events.c
lib/efi_selftest/efi_selftest_tpl.c