Re: [PATCH -next] ubi: fix kconfig unmet dependency

Previous thread: [GIT PULL] x86/urgent for 2.6.36-rc1 by H. Peter Anvin on Thursday, August 12, 2010 - 12:08 pm. (2 messages)

Next thread: [PATCH] print early console device address in hex by Luck, Tony on Thursday, August 12, 2010 - 12:16 pm. (1 message)
From: Randy Dunlap
Date: Thursday, August 12, 2010 - 12:10 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

warning: (OPTPROBES && KPROBES && HAVE_OPTPROBES && !PREEMPT && DEBUG_KERNEL || MTD_UBI_DEBUG && MTD && SYSFS && MTD_UBI || UBIFS_FS_DEBUG && MISC_FILESYSTEMS && UBIFS_FS || LOCKDEP && DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT || LATENCYTOP && HAVE_LATENCYTOP_SUPPORT && DEBUG_KERNEL && STACKTRACE_SUPPORT && PROC_FS) selects KALLSYMS_ALL which has unmet direct dependencies (DEBUG_KERNEL && KALLSYMS)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc:	Artem Bityutskiy <dedekind1@gmail.com>
Cc:	linux-mtd@lists.infradead.org
---
 drivers/mtd/ubi/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This builds cleanly.  Will it execute OK?
or we can make MTD_UBI_DEBUG depend on KALLSYMS_ALL.

--- linux-next-20100810.orig/drivers/mtd/ubi/Kconfig.debug
+++ linux-next-20100810/drivers/mtd/ubi/Kconfig.debug
@@ -6,7 +6,7 @@ config MTD_UBI_DEBUG
 	depends on SYSFS
 	depends on MTD_UBI
 	select DEBUG_FS
-	select KALLSYMS_ALL
+	select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
 	help
 	  This option enables UBI debugging.
 
--

From: Artem Bityutskiy
Date: Monday, August 30, 2010 - 12:49 am

Pushed to the ubi-2.6.git tree, thanks! I'll send it to 2.6.36 soon.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)

--

Previous thread: [GIT PULL] x86/urgent for 2.6.36-rc1 by H. Peter Anvin on Thursday, August 12, 2010 - 12:08 pm. (2 messages)

Next thread: [PATCH] print early console device address in hex by Luck, Tony on Thursday, August 12, 2010 - 12:16 pm. (1 message)