Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31776 )
Change subject: lint/kconfig: Update to support new CONFIG() macro ......................................................................
Patch Set 2:
Does it complain on CONFIG(CONFIG_*)? Since it's looking for symbols that seems to be implicit, but I'm not totally sure.
It triggers the "CONFIG() used on unknown value (CONFIG_XXX)" warning (line 117). It's hard to make that an error because there are tricky edge cases with strings and multi-line comments (e.g. src/northbridge/amd/amdfam10/util.c uses "CONFIG(%02x)" in a string and I think that's fair). I could add an extra error for CONFIG(CONFIG_...) specifically if you want, but I think a Gerrit warning is probably good enough?