summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-30 08:48:53 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-07-02 00:11:06 +0900
commit8f8499a910e63f9973b95c183e2d3bccfe9845ac (patch)
tree8d88ac64f2114b54cdedf549b131bd62704d474c
parent8a3b6e5687836cd16bfdfec38c7313c95492169c (diff)
downloadlinux-8f8499a910e63f9973b95c183e2d3bccfe9845ac.tar.bz2
kconfig: qconf: parse newer types at debug info
There are 3 types that are not parsed by the debug info logic. Add support for them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--scripts/kconfig/qconf.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index fd721c6c4c94..4a616128a154 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1154,6 +1154,9 @@ QString ConfigInfoView::debug_info(struct symbol *sym)
case P_DEFAULT:
case P_SELECT:
case P_RANGE:
+ case P_COMMENT:
+ case P_IMPLY:
+ case P_SYMBOL:
debug += prop_get_type_name(prop->type);
debug += ": ";
expr_print(prop->expr, expr_print_help, &debug, E_NONE);