Commit 101ee680 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: neaten printk_ratelimited message position

Just neatening...
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 43f7fe52
...@@ -3243,7 +3243,7 @@ sub process { ...@@ -3243,7 +3243,7 @@ sub process {
# check for uses of printk_ratelimit # check for uses of printk_ratelimit
if ($line =~ /\bprintk_ratelimit\s*\(/) { if ($line =~ /\bprintk_ratelimit\s*\(/) {
WARN("PRINTK_RATELIMITED", WARN("PRINTK_RATELIMITED",
"Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr); "Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr);
} }
# printk should use KERN_* levels. Note that follow on printk's on the # printk should use KERN_* levels. Note that follow on printk's on the
......
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