2010-08-12 19:11:22

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH -next] ubi: fix kconfig unmet dependency

From: Randy Dunlap <[email protected]>

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 <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: [email protected]
---
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.


2010-08-30 07:50:07

by Artem Bityutskiy

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

On Thu, 2010-08-12 at 12:10 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> 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 <[email protected]>
> Cc: Artem Bityutskiy <[email protected]>
> Cc: [email protected]
> ---
> drivers/mtd/ubi/Kconfig.debug | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

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

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