]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: r8192U_wx: use netdev_warn() instead of printk()
authorLourdes Pedrajas <lu@pplo.net>
Tue, 17 Mar 2020 16:59:17 +0000 (17:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 10:12:49 +0000 (11:12 +0100)
commit58998a40f50a4c77ad6dba9d02ef7256d6f5809e
tree301b825f0b53c68c78a70e8ab5ac24ca64fa8414
parent28225b7b0e9d42ed4210ba53c745fcf3f65182a3
staging: rtl8192u: r8192U_wx: use netdev_warn() instead of printk()

printk() is deprecated, use netdev_warn() instead, which is a message printing
function specific for network devices.
Issue found by checkpatch.

Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Suggested-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
Link: https://lore.kernel.org/r/20200317165917.6260-1-lu@pplo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_wx.c