Message ID | 20170530225034.4728-1-joe@ovn.org |
---|---|
State | Accepted |
Headers | show |
On Tue, May 30, 2017 at 03:50:34PM -0700, Joe Stringer wrote: > 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>
On 30 May 2017 at 16:05, Ben Pfaff <blp@ovn.org> wrote: > On Tue, May 30, 2017 at 03:50:34PM -0700, Joe Stringer wrote: >> 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> Thanks, applied.
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
Headers introduced from Linux do not need the style checking applied. Signed-off-by: Joe Stringer <joe@ovn.org> --- utilities/checkpatch.py | 2 ++ 1 file changed, 2 insertions(+)