[coreboot-gerrit] New patch to review for coreboot: util/lint: Limit linter 017

Philipp Deppenwiese (zaolin.daisuki@gmail.com) gerrit at coreboot.org
Wed Jan 18 00:12:24 CET 2017


Philipp Deppenwiese (zaolin.daisuki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18160

-gerrit

commit b5870c8a1c9e2a7a7f8381bbfe32cba1bb5eeb52
Author: Philipp Deppenwiese <zaolin at das-labor.org>
Date:   Wed Jan 18 00:10:59 2017 +0100

    util/lint: Limit linter 017
    
    Linter 017 is used for pre defined config files and
    shouldn't check recursively because of sub directories.
    
    Change-Id: I0b7cdcc91a40119fa57e8d0648f5bc629cec6c6f
    Signed-off-by: Philipp Deppenwiese <zaolin at das-labor.org>
---
 util/lint/lint-stable-017-configs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/lint/lint-stable-017-configs b/util/lint/lint-stable-017-configs
index 782c183..b962b8d 100755
--- a/util/lint/lint-stable-017-configs
+++ b/util/lint/lint-stable-017-configs
@@ -22,11 +22,11 @@ SYMBOLS='CONFIG_ARCH_\|CONFIG_MAINBOARD_HAS_'
 if [ -n "$(command -v git)" ] && [ -d .git ]; then
 	GREP="git grep -l"
 else
-	GREP="grep -rl"
+	GREP="grep -l"
 fi
 
 #look for a couple of things that should only be set by select keywords
 for file in \
-	$($GREP "$SYMBOLS" configs) ; do \
+	$($GREP "$SYMBOLS" configs/config.*) ; do \
 		echo "Error: $file seems to be a full config"; \
 	done



More information about the coreboot-gerrit mailing list