diff options
| author | Georgiana Rodica Chelu <[email protected]> | 2016-09-26 11:15:56 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-27 13:03:57 +0200 |
| commit | c8be6461054c8c1f536e3085b15b539c1a9c4c7e (patch) | |
| tree | 5e925d9a9e63a6f9a8cf7a347f0d6b90332941f8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 58fce732f02a198dbf55708d8221efc292e948b7 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions