mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
efi: Fix line length in init_secure_boot_mode
Commit cb41b4ce14 introduced init_secure_boot_mode but one line was
not wrapped appropriately.
Signed-off-by: Gerald Elder-Vass <gerald.elder-vass@cloud.com>
Reviewed-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
This commit is contained in:
1 parent
63ebd0e964
commit
85d7fe2e14
1 file changed
+2
-1
@@ -923,7 +923,8 @@ static void __init init_secure_boot_mode(void)
|
||||
|
||||
if ( status == EFI_NOT_FOUND ||
|
||||
(status == EFI_SUCCESS &&
|
||||
attr == (EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS) &&
|
||||
attr == (EFI_VARIABLE_BOOTSERVICE_ACCESS |
|
||||
EFI_VARIABLE_RUNTIME_ACCESS) &&
|
||||
size == 1 && data == 0) )
|
||||
/* Platform does not support Secure Boot or it's disabled. */
|
||||
efi_secure_boot = false;
|
||||
|
||||