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:
0429868
)
efi_loader: address of the simple file system protocol
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 19 Jan 2018 19:24:38 +0000
(20:24 +0100)
committer
Alexander Graf
<agraf@suse.de>
Mon, 22 Jan 2018 22:09:13 +0000
(23:09 +0100)
When installing the the simple file system protocol we have to path
the address of the structure and not the address of a pointer to the
structure.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_disk.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_disk.c
b/lib/efi_loader/efi_disk.c
index
d299fc8
..
85b4a14
100644
(file)
--- a/
lib/efi_loader/efi_disk.c
+++ b/
lib/efi_loader/efi_disk.c
@@
-242,7
+242,7
@@
static void efi_disk_add_dev(const char *name,
diskobj->dp);
ret = efi_add_protocol(diskobj->parent.handle,
&efi_simple_file_system_protocol_guid,
-
&
diskobj->volume);
+ diskobj->volume);
if (ret != EFI_SUCCESS)
goto out_of_memory;
}