staging: wilc1000: Include KERN_ facility level for printk()
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Sun, 14 Feb 2016 04:19:10 +0000 (23:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:31:44 +0000 (16:31 -0800)
This patch includes KERN_ facility level for printk(). KERN_INFO is
justified here as the messages here are informational.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_debugfs.c

index c5c8cc905630d9a0e2508b0a1336e58a9032a2a2..6a39b16121d435a049e3344905ff5d07eab15b59 100644 (file)
@@ -69,9 +69,9 @@ static ssize_t wilc_debug_level_write(struct file *filp, const char __user *buf,
        atomic_set(&WILC_DEBUG_LEVEL, (int)flag);
 
        if (flag == 0)
-               printk("Debug-level disabled\n");
+               printk(KERN_INFO "Debug-level disabled\n");
        else
-               printk("Debug-level enabled\n");
+               printk(KERN_INFO "Debug-level enabled\n");
 
        return count;
 }