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:
Gerald Elder-Vass authored and Jan Beulich committed 2025-09-25 16:01:36 +02:00
1 parent 63ebd0e964
commit 85d7fe2e14
1 file changed
+2 -1
+2 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.