Staging: crystalhd: prefer pr_warn to printk(KERN_WARNING)
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Sat, 8 Mar 2014 09:37:19 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 03:58:57 +0000 (19:58 -0800)
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>
drivers/staging/crystalhd/crystalhd_misc.h

index 77ab72a2a06126850aceb95f7748ad9766169c3c..b33c42e0e01cf063f14b730d4f1c92dd6879c681 100644 (file)
@@ -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)
 
This page took 0.024611 seconds and 5 git commands to generate.