summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-11-25 19:35:59 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2023-12-03 13:01:25 +0300
commit6262afa10ef7cc8fdf39b81a36f9546b68810431 (patch)
tree53ab8ef7d3468722586c718a28c38a004c98f6c6 /lib
parent4e244c10eab345a735c5052688e4a55bddce5bf7 (diff)
downloadlinux-6262afa10ef7cc8fdf39b81a36f9546b68810431.tar.xz
kconfig: default to zero if int/hex symbol lacks default property
When a default property is missing in an int or hex symbol, it defaults to an empty string, which is not a valid symbol value. It results in an incorrect .config, and can also lead to an infinite loop in scripting. Use "0" for int and "0x0" for hex as a default value. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions