diff options
author | Georgiana Rodica Chelu <georgiana.chelu93@gmail.com> | 2016-09-26 11:15:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-27 13:03:57 +0200 |
commit | c8be6461054c8c1f536e3085b15b539c1a9c4c7e (patch) | |
tree | 5e925d9a9e63a6f9a8cf7a347f0d6b90332941f8 /block/blk-timeout.c | |
parent | 58fce732f02a198dbf55708d8221efc292e948b7 (diff) | |
download | op-kernel-dev-c8be6461054c8c1f536e3085b15b539c1a9c4c7e.zip op-kernel-dev-c8be6461054c8c1f536e3085b15b539c1a9c4c7e.tar.gz |
staging: ks7010: ks_wlan_net: Use netdev_ instead of printk
The checkpatch.pl script found the following warning:
WARNING: printk() should include KERN_ facility level
After adding the KERN_ facility level to printk(), the script showed
another warning:
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then
dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...
The warning is similar for KERN_ERR and KERN_DEBUG. In conclusion,
use netdev_info(), netdev_err() or netdev_dbg() when there is
a netdev device.
Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions