From: Florian Fainelli Date: Fri, 6 Oct 2017 21:48:07 +0000 (-0700) Subject: aiaiai-test-patchset: Ignore checkpatch's CONST_STRUCT X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;p=users%2Fdedekind%2Faiaiai.git 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 --- 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)"