diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index 051ba0de376a42f39fdb931c95955ed7e70fcfc8..9f23901872c9b7aa85d5d993016ba7094b016401 100755 --- a/tools/checkpatch.pl +++ b/tools/checkpatch.pl @@ -272,6 +272,7 @@ our $logFunctions = qr{(?x: [a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)| WARN(?:_RATELIMIT|_ONCE|)| panic| + debug| MODULE_[A-Z_]+ )};