diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e672c142e0e..737bcc810e7 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1714,6 +1714,14 @@ sub process { "email address '$email' might be better as '$suggested_email$comment'\n" . $herecurr); } } + if ($line =~ /^\s*signed-off-by:.*quicinc\.com/i) { + WARN("invalid Signed-off-by identity\n" . $line ); + } + } + +#check the patch for invalid author credentials + if ($line =~ /^From:.*quicinc\.com/) { + WARN("invalid author identity\n" . $line ); } # Check for wrappage within a valid hunk of the file