Skip to content

Commit a46310b

Browse files
committed
Merge tag 'efi-urgent-for-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
Pull EFI fix from Ard Biesheuvel: "Avoid spurious warnings about unknown boot parameters" * tag 'efi-urgent-for-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi: efi: fix return value of __setup handlers
2 parents d34c582 + 9feaf8b commit a46310b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/firmware/efi/apple-properties.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static bool dump_properties __initdata;
2424
static int __init dump_properties_enable(char *arg)
2525
{
2626
dump_properties = true;
27-
return 0;
27+
return 1;
2828
}
2929

3030
__setup("dump_apple_properties", dump_properties_enable);

drivers/firmware/efi/efi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static int __init efivar_ssdt_setup(char *str)
212212
memcpy(efivar_ssdt, str, strlen(str));
213213
else
214214
pr_warn("efivar_ssdt: name too long: %s\n", str);
215-
return 0;
215+
return 1;
216216
}
217217
__setup("efivar_ssdt=", efivar_ssdt_setup);
218218

0 commit comments

Comments
 (0)