mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:50:53 +07:00
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>
This commit is contained in:
parent
43f7fe52a8
commit
101ee6802a
@ -3243,7 +3243,7 @@ sub process {
|
||||
# check for uses of printk_ratelimit
|
||||
if ($line =~ /\bprintk_ratelimit\s*\(/) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user