efi_loader: address of the simple file system protocol
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>
This commit is contained in:
parent
04298686a4
commit
22de1de905
@ -242,7 +242,7 @@ static void efi_disk_add_dev(const char *name,
|
|||||||
diskobj->dp);
|
diskobj->dp);
|
||||||
ret = efi_add_protocol(diskobj->parent.handle,
|
ret = efi_add_protocol(diskobj->parent.handle,
|
||||||
&efi_simple_file_system_protocol_guid,
|
&efi_simple_file_system_protocol_guid,
|
||||||
&diskobj->volume);
|
diskobj->volume);
|
||||||
if (ret != EFI_SUCCESS)
|
if (ret != EFI_SUCCESS)
|
||||||
goto out_of_memory;
|
goto out_of_memory;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user