Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

The 'CONFIG_' prefix is not implicit in IS_ENABLED().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Seth Forshee <seth.forshee@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>

authored by

Ben Hutchings and committed by
Matt Fleming
ca0ba26f e971318b

+1 -1
+1 -1
drivers/firmware/efivars.c
··· 104 104 #define GUID_LEN 36 105 105 106 106 static bool efivars_pstore_disable = 107 - IS_ENABLED(EFI_VARS_PSTORE_DEFAULT_DISABLE); 107 + IS_ENABLED(CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE); 108 108 109 109 module_param_named(pstore_disable, efivars_pstore_disable, bool, 0644); 110 110