diff options
-rwxr-xr-x | scripts/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5fa0f5467d99..6bdd43d5dec5 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -454,6 +454,7 @@ our $zero_initializer = qr{(?:(?:0[xX])?0+$Int_type?|NULL|false)\b}; | |||
454 | our $logFunctions = qr{(?x: | 454 | our $logFunctions = qr{(?x: |
455 | printk(?:_ratelimited|_once|_deferred_once|_deferred|)| | 455 | printk(?:_ratelimited|_once|_deferred_once|_deferred|)| |
456 | (?:[a-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)| | 456 | (?:[a-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)| |
457 | TP_printk| | ||
457 | WARN(?:_RATELIMIT|_ONCE|)| | 458 | WARN(?:_RATELIMIT|_ONCE|)| |
458 | panic| | 459 | panic| |
459 | MODULE_[A-Z_]+| | 460 | MODULE_[A-Z_]+| |