diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-11-26 01:35:59 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-12-03 19:01:25 +0900 |
commit | 6262afa10ef7cc8fdf39b81a36f9546b68810431 (patch) | |
tree | 53ab8ef7d3468722586c718a28c38a004c98f6c6 /include | |
parent | 4e244c10eab345a735c5052688e4a55bddce5bf7 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions