efi_loader: typedef struct efi_object *efi_handle_t
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 26 Sep 2018 03:27:54 +0000 (05:27 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:36 +0000 (21:59 +0100)
commitfaea1041054c355752dc61403fc885079daf015b
tree3103a7330b0755b671a6c4acad8c0c1049ac9d73
parentd8b2216c879ca8cf42de05c986136be70faf154d
efi_loader: typedef struct efi_object *efi_handle_t

All our handles point to a struct efi_object. So let's define the
efi_handle_t accordingly. This helps us to discover coding errors much
more easily. This becomes evident by the corrections to the usage of
handles in this patch.

Rename variable image_handle to image_obj where applicable.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi.h
include/efi_api.h
lib/efi/efi.c
lib/efi_loader/efi_boottime.c
lib/efi_selftest/efi_selftest_devicepath.c