]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8192u: Fix warnings relating to printk()
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Feb 2017 21:10:26 +0000 (02:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:45:01 +0000 (13:45 +0100)
This fixes the following checkpatch.pl warnings:
WARNING: printk() should include KERN_ facility level

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

index f02eb8ea8f6e435f84e2baa49e5618e5747fec2d..51503ee0dce7b09867be3da6004e74bbb2f40f81 100644 (file)
@@ -143,7 +143,7 @@ static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, P
 
        if (ACT_ADDBARSP == type) {
                // Status Code
-               printk("=====>to send ADDBARSP\n");
+               printk(KERN_INFO "=====>to send ADDBARSP\n");
 
                put_unaligned_le16(StatusCode, tag);
                tag += 2;
@@ -345,7 +345,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
        pBaTimeoutVal = (u16 *)(tag + 5);
        pBaStartSeqCtrl = (PSEQUENCE_CONTROL)(req + 7);
 
-       printk("====================>rx ADDBAREQ from :%pM\n", dst);
+       printk(KERN_INFO "====================>rx ADDBAREQ from :%pM\n", dst);
 //some other capability is not ready now.
        if ((ieee->current_network.qos_data.active == 0) ||
                (!ieee->pHTInfo->bCurrentHTSupport)) //||