Skip to content
Commit 6262afa1 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarYoann Congal <yoann.congal@smile.fr>
parent 4e244c10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment