[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1348577632-25462-1-git-send-email-khoroshilov@ispras.ru>
Date: Tue, 25 Sep 2012 16:53:52 +0400
From: Alexey Khoroshilov <khoroshilov@...ras.ru>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Alexey Khoroshilov <khoroshilov@...ras.ru>,
devel@...verdev.osuosl.org (open list:STAGING SUBSYSTEM),
linux-kernel@...r.kernel.org (open list),
ldv-project@...uxtesting.org
Subject: [PATCH] staging/gdm72xx: coding style fixes gdm_qos.c
Fix checkpatch.pl warnings:
WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ...
WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ...
WARNING: Prefer pr_err(... to printk(KERN_ERR, ...
Signed-off-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
---
drivers/staging/gdm72xx/gdm_qos.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/gdm72xx/gdm_qos.c b/drivers/staging/gdm72xx/gdm_qos.c
index 80bde05..ed60138 100644
--- a/drivers/staging/gdm72xx/gdm_qos.c
+++ b/drivers/staging/gdm72xx/gdm_qos.c
@@ -25,12 +25,12 @@
#define B2H(x) __be16_to_cpu(x)
#undef dprintk
-#define dprintk(fmt, args ...) printk(KERN_DEBUG "[QoS] " fmt, ## args)
+#define dprintk(fmt, args ...) pr_debug("[QoS] " fmt, ## args)
#undef wprintk
#define wprintk(fmt, args ...) \
- printk(KERN_WARNING "[QoS WARNING] " fmt, ## args)
+ pr_warn("[QoS WARNING] " fmt, ## args)
#undef eprintk
-#define eprintk(fmt, args ...) printk(KERN_ERR "[QoS ERROR] " fmt, ## args)
+#define eprintk(fmt, args ...) pr_err("[QoS ERROR] " fmt, ## args)
#define MAX_FREE_LIST_CNT 32
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists