kconfig_lint: Fix check_is_enabled for 2 symbols on the same line
commitb6acc3071fa1a488e845cb2d5625a44ff385c272
authorMartin Roth <martinroth@google.com>
Sat, 28 Nov 2015 01:51:19 +0000 (27 18:51 -0700)
committerMartin Roth <martinroth@google.com>
Wed, 2 Dec 2015 15:09:34 +0000 (2 16:09 +0100)
tree044bca5d86c89b599b1eebb6d6f47e493cfe28af
parent7aa3ceaf24bb29beba3b67138397cb4f3b5848a4
kconfig_lint: Fix check_is_enabled for 2 symbols on the same line

The previous code would miss the first of two IS_ENABLED(CONFIG_symbol)
sequences on a line.  This patch saves the rest of the line and loops
to check any other entries on the same line of text.

Change-Id: If4e66d5b393cc5703a502887e18f0ac11adff012
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12562
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/lint/kconfig_lint