[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1358556871-6651-1-git-send-email-sedat.dilek@gmail.com>
Date: Sat, 19 Jan 2013 01:54:30 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: David Howells <dhowells@...hat.com>,
Rusty Russell <rusty@...tcorp.com.au>,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Sedat Dilek <sedat.dilek@...il.com>
Subject: [PATCH next-20130118 1/2] KEYS: Fix build-error when SYSTEM_TRUSTED_KEYRING=n
When SYSTEM_TRUSTED_KEYRING=n my build fails like this:
kernel/module_signing.c: In function 'request_asymmetric_key':
kernel/module_signing.c:161:36: error: 'system_trusted_keyring' undeclared (first use in this function)
kernel/module_signing.c:161:36: note: each undeclared identifier is reported only once for each function it appears in
Fix this by replacing "select" with "depends on" KEYS Kconfig.
For more details follow the thread in [1].
[1] http://marc.info/?t=135854545000001&r=1&w=2
Tested against Linux-Next (next-20130118).
Signed-off-by: Sedat Dilek <sedat.dilek@...il.com>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index fb2959d..f7e1b32 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1607,7 +1607,7 @@ config BASE_SMALL
config SYSTEM_TRUSTED_KEYRING
bool "Provide system-wide ring of trusted keys"
- select KEYS
+ depends on KEYS
help
Provide a system keyring to which trusted keys can be added. Keys in
the keyring are considered to be trusted. Keys may be added at will
--
1.8.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists