diff options
| author | Joe Perches <joe@perches.com> | 2015-02-13 17:38:54 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-14 00:21:40 -0500 |
| commit | 101ee6802a77d3a8f42538360a5e9c3f17d5d5b5 (patch) | |
| tree | c6667658cffbe2e1f88ee6d7a94392eb2a322c7b /scripts | |
| parent | 43f7fe52a82ec9f7aa6420af430745111674c7b9 (diff) | |
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>
Diffstat (limited to 'scripts')
| -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 |
