diff options
-rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5c9672951077..0e158667d478 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -210,10 +210,10 @@ our $typeTypedefs = qr{(?x: | |||
210 | 210 | ||
211 | our $logFunctions = qr{(?x: | 211 | our $logFunctions = qr{(?x: |
212 | printk| | 212 | printk| |
213 | pr_(debug|dbg|vdbg|devel|info|warning|err|notice|alert|crit|emerg|cont)| | 213 | [a-z]+_(emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)| |
214 | (dev|netdev|netif)_(printk|dbg|vdbg|info|warn|err|notice|alert|crit|emerg|WARN)| | ||
215 | WARN| | 214 | WARN| |
216 | panic | 215 | panic| |
216 | MODULE_[A-Z_]+ | ||
217 | )}; | 217 | )}; |
218 | 218 | ||
219 | our @typeList = ( | 219 | our @typeList = ( |