diff mbox series

kconfig: qconf: parse newer types at debug info

Message ID 3f61abe3ae457bb5b61fb217394bbb9590ca17ef.1593499731.git.mchehab+huawei@kernel.org (mailing list archive)
State New, archived
Headers show
Series kconfig: qconf: parse newer types at debug info | expand

Commit Message

Mauro Carvalho Chehab June 30, 2020, 6:48 a.m. UTC
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>
---
 scripts/kconfig/qconf.cc | 3 +++
 1 file changed, 3 insertions(+)

Comments

Masahiro Yamada July 1, 2020, 3:22 p.m. UTC | #1
On Tue, Jun 30, 2020 at 3:49 PM Mauro Carvalho Chehab
<mchehab+huawei@kernel.org> wrote:
>
> 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>
> ---


Applied to linux-kbuild.


>  scripts/kconfig/qconf.cc | 3 +++
>  1 file changed, 3 insertions(+)
>
> 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);
> --
> 2.26.2
>
diff mbox series

Patch

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);