Commit 6e60c02e authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files update $logFunctions

Previous behavior allowed only alphabetic prefixes like pr_info to exceed
the 80 column line length limit.

ath6kl wants to add a digit into the prefix, so allow numbers as well as
digits in the <prefix>_<level> printks.

<prefix>_<level>_ratelimited and <prefix>_<level>_once and WARN_RATELIMIT
and WARN_ONCE may now exceed 80 cols.

Add missing <prefix>_printk type for completeness.
Signed-off-by: default avatarJoe Perches <>
Cc: Andy Whitcroft <>
Cc: Kalle Valo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 34d99219
...@@ -257,9 +257,9 @@ our $typeTypedefs = qr{(?x: ...@@ -257,9 +257,9 @@ our $typeTypedefs = qr{(?x:
)}; )};
our $logFunctions = qr{(?x: our $logFunctions = qr{(?x:
printk| printk(?:_ratelimited|_once|)|
[a-z]+_(emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)| [a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
panic| panic|
)}; )};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment