Skip to content

Commit 6bef0b6

Browse files
Artem BityutskiyArtem Bityutskiy
authored andcommitted
UBI: do not select KALLSYMS_ALL
All UBI needs is to make sure we stacktraces when UBI debugging is enabled. It is enough to select KALLSYMS for this, KALLSYMS_ALL is not necessary. And the current Kconfig line we have: select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL is just too complex to be sane and right. But this "if" part there is needed to prevent "unmet direct dependency" warnings, because KALLSYMS_ALL depends on KALLSYMS and DEBUG_KERNEL, so we cannot just select KALLSYMS_ALL. Anyway, this feels messy, and we do not seem to really need KALLSYMS_ALL, so select KALLSYMS instead. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
1 parent 6e5133c commit 6bef0b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/ubi/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ config MTD_UBI_DEBUG
5656
bool "UBI debugging"
5757
depends on SYSFS
5858
select DEBUG_FS
59-
select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
59+
select KALLSYMS
6060
help
6161
This option enables UBI debugging.
6262

0 commit comments

Comments
 (0)