projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b6b54
)
efi_loader: system table setup
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 15 Jun 2019 12:51:06 +0000
(14:51 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 20 Jun 2019 22:26:16 +0000
(22:26 +0000)
When setting up the system table avoid superfluous void * conversions.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index
b26291b
..
d104cc6
100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-3620,11
+3620,11
@@
struct efi_system_table __efi_runtime_data systab = {
},
.fw_vendor = firmware_vendor,
.fw_revision = FW_VERSION << 16 | FW_PATCHLEVEL << 8,
- .con_in =
(void *)
&efi_con_in,
- .con_out =
(void *)
&efi_con_out,
- .std_err =
(void *)
&efi_con_out,
- .runtime =
(void *)
&efi_runtime_services,
- .boottime =
(void *)
&efi_boot_services,
+ .con_in = &efi_con_in,
+ .con_out = &efi_con_out,
+ .std_err = &efi_con_out,
+ .runtime = &efi_runtime_services,
+ .boottime = &efi_boot_services,
.nr_tables = 0,
.tables = NULL,
};