From 1bdbd758c842d4a4fec21949d3935b460431c4c8 Mon Sep 17 00:00:00 2001 From: Elena Oat Date: Tue, 18 Mar 2014 20:22:18 +0200 Subject: [PATCH] Staging: rtl8188eu: Fix warning of printk() should include KERN_ facility level. This patch fixes the warning of "printk() should include KERN_ facility level" in file rtw_debug.c. Signed-off-by: Elena Oat Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8188eu/core/rtw_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c index 78a7adf..949bca1 100644 --- a/drivers/staging/rtl8188eu/core/rtw_debug.c +++ b/drivers/staging/rtl8188eu/core/rtw_debug.c @@ -783,7 +783,7 @@ int proc_set_rx_stbc(struct file *file, const char __user *buffer, if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) { if (pregpriv) { pregpriv->rx_stbc = mode; - printk("rx_stbc=%d\n", mode); + netdev_info(dev, "rx_stbc=%d\n", mode); } } return count; -- 2.7.4