mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
checkpatch: Fix signoff error
When no 'Signed-off-by' tags are found, the output will look like: E: No signatures found. E: Too many signoffs; are you missing Co-authored-by lines? Warnings: 0, Errors: 2 However, there should really only be one error reported in this case. Signed-off-by: Aaron Conole <aconole@bytheb.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -188,7 +188,7 @@ def ovs_checkpatch_parse(text):
|
||||
if not skip_signoff_check:
|
||||
if len(signatures) == 0:
|
||||
print_error("No signatures found.")
|
||||
if len(signatures) != 1 + len(co_authors):
|
||||
elif len(signatures) != 1 + len(co_authors):
|
||||
print_error("Too many signoffs; "
|
||||
"are you missing Co-authored-by lines?")
|
||||
if not set(co_authors) <= set(signatures):
|
||||
|
Reference in New Issue
Block a user