diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 70e7f7cdb452..0d94853079ec 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -281,7 +281,7 @@ our $typeTypedefs = qr{(?x: | |||
| 281 | 281 | ||
| 282 | our $logFunctions = qr{(?x: | 282 | our $logFunctions = qr{(?x: |
| 283 | printk(?:_ratelimited|_once|)| | 283 | printk(?:_ratelimited|_once|)| |
| 284 | [a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)| | 284 | (?:[a-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)| |
| 285 | WARN(?:_RATELIMIT|_ONCE|)| | 285 | WARN(?:_RATELIMIT|_ONCE|)| |
| 286 | panic| | 286 | panic| |
| 287 | MODULE_[A-Z_]+ | 287 | MODULE_[A-Z_]+ |
