summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBaseTools/Scripts/PatchCheck.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/BaseTools/Scripts/PatchCheck.py b/BaseTools/Scripts/PatchCheck.py
index 158a2b30a5..415198e382 100755
--- a/BaseTools/Scripts/PatchCheck.py
+++ b/BaseTools/Scripts/PatchCheck.py
@@ -229,8 +229,10 @@ class CommitMessageCheck:
)
def check_misc_signatures(self):
- for sig in self.sig_types:
- self.find_signatures(sig)
+ for sigtype in self.sig_types:
+ sigs = self.find_signatures(sigtype)
+ if sigtype == 'Cc' and len(sigs) == 0:
+ self.error('No Cc: tags for maintainers/reviewers found!')
cve_re = re.compile('CVE-[0-9]{4}-[0-9]{5}[^0-9]')