From eadfb4d5c88d2dec2842ba8986df42f111d4a7a8 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 6 Oct 2017 14:48:07 -0700 Subject: aiaiai-test-patchset: Ignore checkpatch's CONST_STRUCT checkpatch.pl can generate a ton of false positive warnings when used with CONST_STRUCT, so ignore those warnings to make its output useful again. Signed-off-by: Florian Fainelli --- aiaiai-test-patchset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiaiai-test-patchset b/aiaiai-test-patchset index 0ecbac6..a17d124 100755 --- a/aiaiai-test-patchset +++ b/aiaiai-test-patchset @@ -122,7 +122,7 @@ test_checkpatch() local n=0 patch_cnt local tmp_out="$tmpdir/checkpatch.tmp_out" local tmp_mbox="$tmpdir/checkpatch.tmp_mbox" - local opts="--no-tree -q --show-types --ignore PREFER_PACKED,PREFER_ALIGNED" + local opts="--no-tree -q --show-types --ignore PREFER_PACKED,PREFER_ALIGNED,CONST_STRUCT" patch_cnt="$(formail -s echo 1 < "$mbox" | wc -l)" -- cgit 1.2.3-korg