]> www.infradead.org Git - users/dwmw2/linux.git/commit
kconfig: qconf: simplify character replacement
authorRolf Eike Beer <eb@emlix.com>
Wed, 23 Oct 2024 06:39:15 +0000 (08:39 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Nov 2024 23:46:34 +0000 (08:46 +0900)
commit8b36d3f2e612866e705b16e9c792e10b62c6c10e
treead409687fc98f7cc27b59003a0d77156ed2b82fb
parent5a4bed0fad83cdecc91dfd541b326801d3979564
kconfig: qconf: simplify character replacement

Replace the hand crafted lookup table with a QHash. This has the nice benefit
that the added offsets can not get out of sync with the length of the
replacement strings.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc