]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8192u: replace printk with natdev_<LEVEL> statements in ieee80211
authorPaulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Wed, 15 Jan 2020 10:12:08 +0000 (23:12 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 12:11:41 +0000 (13:11 +0100)
commit7a176c1079427194084eb169c554f0782ce6f0b4
tree177b34f70bc6303634fa447ecfaa21aa70e7a642
parent32f78c901d14bd63c38ed49d3db7d697b84e4a1c
staging: rtl8192u: replace printk with natdev_<LEVEL> statements in ieee80211

Checkpatch reports 'WARNING: printk() should include KERN_<LEVEL>
facility level'. Fix this by specifying a relevant KERN_<LEVEL> value
for each line in which it was missing.

Once they are fixed, checkpatch reports 'WARNING: Prefer [subsystem eg:
netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then
pr_debug(...  to printk(KERN_DEBUG ...'. Fix this by replacing
relevant printk_<level> statements with their netdev_<level>
equivalent.

Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Link: https://lore.kernel.org/r/20200115101208.GA683742@localhost.localdomain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c