]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: qconf: remove wrong ConfigList::firstChild()
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 Aug 2020 07:08:50 +0000 (16:08 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 Aug 2020 14:09:10 +0000 (23:09 +0900)
commite78705a6e4d8ae370f78872a0e80ea1720805429
tree3b1e6b16b55c293cfa278d21c1e2073122dfef05
parentc9511cd6d1148d430cf158cd1e222205c3eaed8d
kconfig: qconf: remove wrong ConfigList::firstChild()

This function returns the first child object, but the returned pointer
is not compatible with (ConfigItem *).

Commit 87a51d73e638 ("kconfig: qconf: don't show goback button on
splitMode") uncovered this issue because using the pointer from this
function would make qconf crash. (https://lkml.org/lkml/2020/7/18/411)

This function does not work. Remove.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc
scripts/kconfig/qconf.h