From af3f31b8161964c585ac2080f9e07488ab7a3e87 Mon Sep 17 00:00:00 2001 From: Georgiana Rodica Chelu Date: Sat, 8 Mar 2014 11:37:19 +0200 Subject: [PATCH] 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 --- drivers/staging/crystalhd/crystalhd_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1