diff options
author | Martin Roth <gaumless@gmail.com> | 2023-10-27 11:03:48 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-13 14:13:24 +0000 |
commit | c7139f9d46dfafbb7dee4a2a0650c645a42c7c83 (patch) | |
tree | cd906061035238def6ce65b2dd557ca32cf1d0f0 /src/arch/arm/boot.c | |
parent | 6ac6f6a6d096cb9b37e57e4cf3ad6fdccdcfad2f (diff) |
util/lint/kconfig_lint: Ignore C preprocessor macros in code
To see which Kconfig symbols are actually used, and to verify that
they're used correctly, kconfig_lint scans the C code. It gives an error
if it sees a CONFIG(symbol) where the symbol doesn't exist.
This creates a problem when a C preprocessor macro is created to match
multiple Kconfig symbols. The simple solution here is to just ignore
those C preprocessor macro definitions as beyond the scope of this
linter.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I5a20e8bb5a3e19e380802cba712d6dd3ff2f4dc0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78681
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/arch/arm/boot.c')
0 files changed, 0 insertions, 0 deletions