Message ID | 20180117191612.17108-3-xypron.glpk@gmx.de |
---|---|
State | Superseded, archived |
Delegated to: | Alexander Graf |
Headers | show |
Series | efi_loader: enable EFI driver provided block device | expand |
On 17.01.18 20:15, Heinrich Schuchardt wrote: > When installing the the simple file system protocol we have to path > the address of the structure and not the address of a pointer ot the s/ot/to/ Alex > structure. > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > v2 > no change > --- > lib/efi_loader/efi_disk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c > index d299fc8dea..85b4a147e2 100644 > --- 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; > } >
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index d299fc8dea..85b4a147e2 100644 --- 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; }
When installing the the simple file system protocol we have to path the address of the structure and not the address of a pointer ot the structure. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- v2 no change --- lib/efi_loader/efi_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)