Commit 74a1fb67 authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman

Staging: winbond: Fix printk() should include KERN_ facility level in wb35rx.c

Fix checkpatch.pl issues with printk() should include
KERN_ facility level in wb35rx.c
Signed-off-by: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 256a38b0
...@@ -261,7 +261,7 @@ static void Wb35Rx(struct ieee80211_hw *hw) ...@@ -261,7 +261,7 @@ static void Wb35Rx(struct ieee80211_hw *hw)
pWb35Rx->pDRx = kzalloc(MAX_USB_RX_BUFFER, GFP_ATOMIC); pWb35Rx->pDRx = kzalloc(MAX_USB_RX_BUFFER, GFP_ATOMIC);
if (!pWb35Rx->pDRx) { if (!pWb35Rx->pDRx) {
printk("w35und: Rx memory alloc failed\n"); dev_info(&hw->wiphy->dev, "w35und: Rx memory alloc failed\n");
goto error; goto error;
} }
pRxBufferAddress = pWb35Rx->pDRx; pRxBufferAddress = pWb35Rx->pDRx;
...@@ -276,7 +276,7 @@ static void Wb35Rx(struct ieee80211_hw *hw) ...@@ -276,7 +276,7 @@ static void Wb35Rx(struct ieee80211_hw *hw)
retv = usb_submit_urb(urb, GFP_ATOMIC); retv = usb_submit_urb(urb, GFP_ATOMIC);
if (retv != 0) { if (retv != 0) {
printk("Rx URB sending error\n"); dev_info(&hw->wiphy->dev, "Rx URB sending error\n");
goto error; goto error;
} }
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment