]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: vt6655: use netdev_* instead of printk
authorTeodora Baluta <teobaluta@gmail.com>
Mon, 11 Nov 2013 17:27:05 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Nov 2013 23:46:28 +0000 (15:46 -0800)
commit18278771f42ed5ab2fbf730947790f1f433ef8f1
treea5218b7aa74f88dfa463d0947e97c0b9bdf42296
parentf6daf9e6880da85beaf38718ac264e8922988750
staging: vt6655: use netdev_* instead of printk

Checkpatch.pl gave the following warnings

WARNING: printk() should include KERN_ facility level

After fixing these with KERN_INFO facility level, it was suggested to
use netdev_ instead of printk() with KERN_INFO facility.
Used netdev_dbg for the statements inside of PLICE_DEBUG #ifdef, as
debugging shouldn't rely on compile options and netdev_info for one
printk which wasn't inside any #ifdef PLICE_DEBUG.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/bssdb.c