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: v5.15~18197^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bdbd758c842d4a4fec21949d3935b460431c4c8;p=platform%2Fkernel%2Flinux-starfive.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 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;