diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-10-06 14:48:07 -0700 |
---|---|---|
committer | Jacob Keller <jacob.e.keller@intel.com> | 2017-10-06 16:59:36 -0700 |
commit | eadfb4d5c88d2dec2842ba8986df42f111d4a7a8 (patch) | |
tree | 8aada76a0d835f082c72dfda2fe3848f4794283e | |
parent | b0862961c9ea3b4e0bc5b3f7f7e5b2ff4cb027a7 (diff) | |
download | aiaiai-master.tar.gz |
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 <f.fainelli@gmail.com>
-rwxr-xr-x | aiaiai-test-patchset | 2 |
1 files changed, 1 insertions, 1 deletions
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)" |