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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user