diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-23 03:37:49 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-23 19:10:08 +0100 |
| commit | 7ba79cafa8e03af90dea0c4378e024d24a7d64b7 (patch) | |
| tree | 1b8072a3fc00259093d3ae6ddd8bfe192a4663c8 /tests/sub | |
| parent | d898552d86ef6deb22284ac0ebafe771e8e0fdc2 (diff) | |
Warn if user (.config) value is outside of 'range'
Example warning:
warning: user value 0x100 on the hex symbol HEX (defined at Kconfig:18) ignored due to being outside the active range ([0x13, 0x73]) -- falling back on defaults
This is a Kconfiglib-exclusive warning. It might be tricky to implement
in the C tools, due to weird two-phase handling of int/hex symbols.
There is unfortunately no easy way to map the warning back to a .config
line, as the active 'range' can't be known in general until the entire
configuration has been read (consider 'range 0 10 if FOO' for example).
Instead, the warning is generated when the symbol value is calculated.
Diffstat (limited to 'tests/sub')
0 files changed, 0 insertions, 0 deletions
