Commit af3f31b8 authored by Georgiana Rodica Chelu's avatar Georgiana Rodica Chelu Committed by Greg Kroah-Hartman

Staging: crystalhd: prefer pr_warn to printk(KERN_WARNING)

Fix warning issue by using pr_err instead of printk
Signed-off-by: default avatarGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Reviewed-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 48be8183
...@@ -225,7 +225,7 @@ do { \ ...@@ -225,7 +225,7 @@ do { \
#define BCMLOG_ERR(fmt, args...) \ #define BCMLOG_ERR(fmt, args...) \
do { \ do { \
if (g_linklog_level & BCMLOG_ERROR) \ if (g_linklog_level & BCMLOG_ERROR) \
printk(KERN_ERR "*ERR*:%s:%d: "fmt, \ pr_err("*ERR*:%s:%d: "fmt, \
__FILE__, __LINE__, ##args); \ __FILE__, __LINE__, ##args); \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment