Commit 06ae348
committed
Fix _str_default() to return implicit zero for INT/HEX
sym_get_string_default() in scripts/kconfig/symbol.c (Linux) returns
"0" for INT and "0x0" for HEX when no explicit default exists.
Kconfiglib's _str_default() was returning "" instead, causing
write_min_config() to include hex symbols whose value matches the
implicit zero default (e.g. DEBUG_UART_PHYS=0x0 in arm rpc_defconfig).1 parent 5945655 commit 06ae348
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5212 | 5212 | | |
5213 | 5213 | | |
5214 | 5214 | | |
| 5215 | + | |
| 5216 | + | |
| 5217 | + | |
| 5218 | + | |
| 5219 | + | |
| 5220 | + | |
| 5221 | + | |
5215 | 5222 | | |
5216 | 5223 | | |
5217 | 5224 | | |
| |||
0 commit comments