Re: [PATCH v2] checkpatch: fix UNNECESSARY_KERN_LEVEL false positive

2014-12-23 Thread Joe Perches
On Tue, 2014-12-23 at 14:31 +0100, Paolo Bonzini wrote: > KERN_ 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). [] > v1->v2: skip printk_once too [Jo

[PATCH v2] checkpatch: fix UNNECESSARY_KERN_LEVEL false positive

2014-12-23 Thread Paolo Bonzini
KERN_ 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). Cc: Andy Whitcroft Cc: Joe Perches Cc: Andrew Morton Signed-off-by: Paolo Bonzini --- v1->v2