• Artem Bityutskiy's avatar
    UBIFS: do not select KALLSYMS_ALL · 81354de3
    Artem Bityutskiy authored
    All UBIFS needs is to make sure we stacktraces when UBIFS debugging
    is enabled. It is enough to select KALLSYMS for this, KALLSYMS_ALL
    is not necessary. Moreover, Randy Dunlap reported that UBIFS causes
    the following Kconfig dependency warning:
    
    warning: (UBIFS_FS_DEBUG && LOCKDEP && LATENCYTOP) selects KALLSYMS_ALL
    which has unmet direct dependencies (DEBUG_KERNEL && KALLSYMS)
    
    The reason is that KALLSYMS_ALL requires DEBUG_KERNEL and KALLSYMS, so
    ideally, to select KALLSYMS_ALL we'd need to select DEBUG_KERNEL and
    KALLSYMS first.
    
    This seems to be too much to select. The easiest way to go is to forget
    about KALLSYMS_ALL and just select KALLSYMS when UBIFS debugging is
    enabled - that should be enough for stackdumps.
    Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    81354de3
Kconfig 1.89 KB