ovs_checkpatch_parse() takes 2 arguments, not sys.exit(). Oops.
Fixes: 95bd35d3db19 ("checkpatch: Implement -f option more usefully.")
Signed-off-by: Ben Pfaff <[email protected]>
---
utilities/checkpatch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 3ebd53ad06b7..5ca4b9e2f8d3 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -458,5 +458,5 @@ if __name__ == '__main__':
if sys.stdin.isatty():
usage()
sys.exit(-1)
- sys.exit(ovs_checkpatch_parse(sys.stdin.read()), '-')
+ sys.exit(ovs_checkpatch_parse(sys.stdin.read(), '-'))
sys.exit(ovs_checkpatch_file(filename))
--
2.10.2
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev