diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a9baaabfae36..bf232642cbb3 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -3243,7 +3243,7 @@ sub process { | |||
| 3243 | # check for uses of printk_ratelimit | 3243 | # check for uses of printk_ratelimit |
| 3244 | if ($line =~ /\bprintk_ratelimit\s*\(/) { | 3244 | if ($line =~ /\bprintk_ratelimit\s*\(/) { |
| 3245 | WARN("PRINTK_RATELIMITED", | 3245 | 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); |
| 3247 | } | 3247 | } |
| 3248 | 3248 | ||
| 3249 | # printk should use KERN_* levels. Note that follow on printk's on the | 3249 | # printk should use KERN_* levels. Note that follow on printk's on the |
