aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 8dd720ac0069..9d761c95eca2 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -257,9 +257,9 @@ our $typeTypedefs = qr{(?x:
257)}; 257)};
258 258
259our $logFunctions = qr{(?x: 259our $logFunctions = qr{(?x:
260 printk| 260 printk(?:_ratelimited|_once|)|
261 [a-z]+_(emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)| 261 [a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
262 WARN| 262 WARN(?:_RATELIMIT|_ONCE|)|
263 panic| 263 panic|
264 MODULE_[A-Z_]+ 264 MODULE_[A-Z_]+
265)}; 265)};