Signed-off-by: Ilya Maximets <i.maxim...@samsung.com>
---
 utilities/checkpatch.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 441eaa807..ae86937c8 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -839,6 +839,11 @@ def ovs_checkpatch_parse(text, filename, author=None, 
committer=None):
                 continue
             if current_file.startswith('include/linux'):
                 continue
+            # "sparse" includes could be copy-pasted from different sources
+            # like DPDK or Linux and could contain workarounds not suitable
+            # for a common style.
+            if current_file.startswith('include/sparse'):
+                continue
             run_checks(current_file, cmp_line, lineno)
 
     run_file_checks(text)
-- 
2.17.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to