Skip to content

Commit 101ee68

Browse files
JoePerchestorvalds
authored andcommitted
checkpatch: neaten printk_ratelimited message position
Just neatening... Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 43f7fe5 commit 101ee68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/checkpatch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3243,7 +3243,7 @@ sub process {
32433243
# check for uses of printk_ratelimit
32443244
if ($line =~ /\bprintk_ratelimit\s*\(/) {
32453245
WARN("PRINTK_RATELIMITED",
3246-
"Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr);
3246+
"Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr);
32473247
}
32483248

32493249
# printk should use KERN_* levels. Note that follow on printk's on the

0 commit comments

Comments
 (0)