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