]> git.itanic.dy.fi Git - linux-stable/commit
kconfig: introduce getline_stripped() helper
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 18 Nov 2023 07:59:10 +0000 (16:59 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 28 Nov 2023 02:22:51 +0000 (11:22 +0900)
commit9925d6b7d12f5019d2a6c465ae72093101edbfd4
tree7e3248048c0f0ee6f2784977d95ce8c149912db0
parentd854b4b21de684a16a7d6163c7b0e9c5ff8a09d3
kconfig: introduce getline_stripped() helper

Currently, newline characters are stripped away in multiple places
on the caller.

Doing that in the callee is helpful for further cleanups.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c