diff options
author | Julius Werner <jwerner@chromium.org> | 2019-03-05 17:10:19 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-22 09:31:11 +0000 |
commit | e5eb2decd02357732f90513da5bba276fae44833 (patch) | |
tree | 291c90683949a5e8fbfab7956fc40cc25a05fb73 /util/kconfig/zconf.l | |
parent | b08906b2406bf93cae692a8ac5bc75302038a4c2 (diff) |
lint/kconfig: More checks, more errors
This patch changes a few more Kconfig linter warnings to errors that
currently do not show up in the tree and that seem unlikely to become
false positive in the future. One instance of duplicated code that
essentially checks for the same thing was consolidated.
It also adds a new test for references to boolean Kconfig options that
do not use the CONFIG() wrapper macro. It's a little flaky (e.g. hard to
handle multi-line comments), but it should be helpful the majority of
the time as a warning in a Jenkins comment.
Change-Id: I975ee77d392ed426f76f7671d9b6ef9441656e6a
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31777
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/kconfig/zconf.l')
0 files changed, 0 insertions, 0 deletions