summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-30 09:48:53 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-07-01 18:11:06 +0300
commit8f8499a910e63f9973b95c183e2d3bccfe9845ac (patch)
tree8d88ac64f2114b54cdedf549b131bd62704d474c /scripts/kconfig
parent8a3b6e5687836cd16bfdfec38c7313c95492169c (diff)
downloadlinux-8f8499a910e63f9973b95c183e2d3bccfe9845ac.tar.xz
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>
Diffstat (limited to 'scripts/kconfig')
-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);