mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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 <georgiana.chelu93@gmail.com> Reviewed-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
48be81830e
commit
af3f31b816
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user