Răsfoiți Sursa

staging: rtl8192u: Fix warnings relating to printk()

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>
simran singhal 8 ani în urmă
părinte
comite
917883b58e
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

+ 2 - 2
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

@@ -143,7 +143,7 @@ static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, P
 
 
 	if (ACT_ADDBARSP == type) {
 	if (ACT_ADDBARSP == type) {
 		// Status Code
 		// Status Code
-		printk("=====>to send ADDBARSP\n");
+		printk(KERN_INFO "=====>to send ADDBARSP\n");
 
 
 		put_unaligned_le16(StatusCode, tag);
 		put_unaligned_le16(StatusCode, tag);
 		tag += 2;
 		tag += 2;
@@ -345,7 +345,7 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb)
 	pBaTimeoutVal = (u16 *)(tag + 5);
 	pBaTimeoutVal = (u16 *)(tag + 5);
 	pBaStartSeqCtrl = (PSEQUENCE_CONTROL)(req + 7);
 	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.
 //some other capability is not ready now.
 	if ((ieee->current_network.qos_data.active == 0) ||
 	if ((ieee->current_network.qos_data.active == 0) ||
 		(!ieee->pHTInfo->bCurrentHTSupport)) //||
 		(!ieee->pHTInfo->bCurrentHTSupport)) //||