History

checkpatch: remove %p4cn

%p4cn was recently removed and replaced by %p4chR in vsprintf. So, remove the check for %p4cn from checkpatch.pl.

Aditya Garg committed 1 year ago

Commit a6c0a911 parent d5d283d1 file · +1 −1Browse files

Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all

Unified · Split

scripts/checkpatch.pl+1−1
@@ -6891,7 +6891,7 @@ sub process { · 6890 unmodified lines
68916891 ($extension eq "f" &&
68926892 defined $qualifier && $qualifier !~ /^w/) ||
68936893 ($extension eq "4" &&
6894− defined $qualifier && $qualifier !~ /^c[hnlbc]/)) {
6894+ defined $qualifier && $qualifier !~ /^c(?:[hlbc]|hR)$/)) {
68956895 $bad_specifier = $specifier;
68966896 last;
68976897 }