Somehow some such patches snuck through. checkpatch caught them (and the
committer missed that) but this makes it even more explicit.
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Commit: A" \
"ERROR: Author A needs to sign off."
+# Single author but somehow the mailing list is the author.
+try_checkpatch \
+ "Author: Foo Bar via dev <ovs-dev@openvswitch.org>
+ Commit: A
+
+ Signed-off-by: A" \
+ "ERROR: Author should not be mailing list."
+
# Sign-off for single author and different committer.
try_checkpatch \
"Author: A
if not author:
print_error("Patch lacks author.")
continue
+ if " via " in author or "@openvswitch.org" in author:
+ print_error("Author should not be mailing list.")
+ continue
if author in co_authors:
print_error("Author should not be also be co-author.")
continue