From: Elena Oat Date: Tue, 18 Mar 2014 18:22:18 +0000 (+0200) Subject: Staging: rtl8188eu: Fix warning of printk() should include KERN_ facility level. X-Git-Tag: MMI-PSA29.97-13-9~12500^2~94 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bdbd758c842d4a4fec21949d3935b460431c4c8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c index 78a7adf61609..949bca139bd4 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;