2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

checkpatch: Ignore "sparse" headers.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
Ilya Maximets
2019-05-28 17:56:44 +03:00
parent 4992e00012
commit 7095b9036c

View File

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