Commit 4d42c44727a0 ("lib/vsprintf: Print time and date in human readable format via %pt") introduced a new extension, %pt. Add it in the list of valid extensions.
Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -5977,7 +5977,7 @@ sub process { · 5976 unmodified lines | |||
| 5977 | while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) { | 5977 | while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) { |
| 5978 | $specifier = $1; | 5978 | $specifier = $1; |
| 5979 | $extension = $2; | 5979 | $extension = $2; |
| 5980 | if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOx]/) { | 5980 | if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) { |
| 5981 | $bad_specifier = $specifier; | 5981 | $bad_specifier = $specifier; |
| 5982 | last; | 5982 | last; |
| 5983 | } | 5983 | } |