From: Georgiana Rodica Chelu Date: Sat, 8 Mar 2014 09:37:19 +0000 (+0200) Subject: Staging: crystalhd: prefer pr_warn to printk(KERN_WARNING) X-Git-Tag: firefly_0821_release~176^2~4193^2~498 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af3f31b8161964c585ac2080f9e07488ab7a3e87;p=firefly-linux-kernel-4.4.55.git Staging: crystalhd: prefer pr_warn to printk(KERN_WARNING) Fix warning issue by using pr_err instead of printk Signed-off-by: Georgiana Rodica Chelu Reviewed-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/crystalhd/crystalhd_misc.h b/drivers/staging/crystalhd/crystalhd_misc.h index 77ab72a2a061..b33c42e0e01c 100644 --- a/drivers/staging/crystalhd/crystalhd_misc.h +++ b/drivers/staging/crystalhd/crystalhd_misc.h @@ -225,7 +225,7 @@ do { \ #define BCMLOG_ERR(fmt, args...) \ do { \ if (g_linklog_level & BCMLOG_ERROR) \ - printk(KERN_ERR "*ERR*:%s:%d: "fmt, \ + pr_err("*ERR*:%s:%d: "fmt, \ __FILE__, __LINE__, ##args); \ } while (0)