Headers introduced from Linux do not need the style checking applied.
Signed-off-by: Joe Stringer <[email protected]>
---
utilities/checkpatch.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 751abd924c6a..d7279252fc1b 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -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
--
2.11.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev