checkpatch: fix UNNECESSARY_KERN_LEVEL false positive
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Feb 2015 22:38:26 +0000 (14:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:39 +0000 (21:21 -0800)
commitdcaf112365369c3b55bfc37edb634dba32dde57e
tree012dfc118c3d6aa00f3fc62e822d890501595831
parente23ef1f3340c24d5ff130b574546566349897258
checkpatch: fix UNNECESSARY_KERN_LEVEL false positive

KERN_<LEVEL> is never redundant with printk_ratelimited or printk_once.
(Except perhaps in the sense that you could use e.g.  pr_err_ratelimited
or pr_err_once, but that would apply to printk as well).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Andy Whitcroft <apw@canonical.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl