2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

checkpatch: Skip checking Linux headers.

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>
This commit is contained in:
Joe Stringer
2017-05-30 15:50:34 -07:00
parent 00c875d0d3
commit 4f74db48af

View File

@@ -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