Patchwork [3.5.y.z,extended,stable] Patch "efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE" has been added to staging queue

login
register
mail settings
Submitter Luis Henriques
Date April 18, 2013, 9:01 a.m.
Message ID <1366275662-2614-1-git-send-email-luis.henriques@canonical.com>
Download mbox | patch
Permalink /patch/237488/
State New
Headers show

Comments

Luis Henriques - April 18, 2013, 9:01 a.m.
This is a note to let you know that I have just added a patch titled

    efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

From 46c95607e8b8e657e38326a0f35acdfb34efa43f Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Fri, 22 Mar 2013 19:56:51 +0000
Subject: [PATCH] efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

commit ca0ba26fbbd2d81c43085df49ce0abfe34535a90 upstream.

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>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 drivers/firmware/efivars.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.8.1.2

Patch

diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index af8fec1..303bc8e 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -93,7 +93,7 @@  MODULE_VERSION(EFIVARS_VERSION);
 #define DUMP_NAME_LEN 52

 static bool efivars_pstore_disable =
-	IS_ENABLED(EFI_VARS_PSTORE_DEFAULT_DISABLE);
+	IS_ENABLED(CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE);

 module_param_named(pstore_disable, efivars_pstore_disable, bool, 0644);