Staging: rtl8188eu: Fix warning of printk() should include KERN_ facility level.
authorElena Oat <oat.elena@gmail.com>
Tue, 18 Mar 2014 18:22:18 +0000 (20:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 19:22:48 +0000 (12:22 -0700)
This patch fixes the warning of "printk() should include KERN_ facility
level" in file rtw_debug.c.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_debug.c

index 78a7adf6160927e3f7ebe811dbbb3f6e479a23f4..949bca139bd475b5ec445066a5039c88f6a780f7 100644 (file)
@@ -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;