Skip to content

Commit

Permalink
checkpatch: Skip checking Linux headers.
Browse files Browse the repository at this point in the history
Headers introduced from Linux do not need the style checking applied.

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
  • Loading branch information
joestringer committed May 31, 2017
1 parent 00c875d commit 4f74db4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utilities/checkpatch.py
Expand Up @@ -352,6 +352,8 @@ def ovs_checkpatch_parse(text):
# linux or windows coding standards
if current_file.startswith('datapath'):
continue
if current_file.startswith('include/linux'):
continue
run_checks(current_file, cmp_line, lineno)
if __errors or __warnings:
return -1
Expand Down

0 comments on commit 4f74db4

Please sign in to comment.