Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ebru Akagunduz and committed by
Greg Kroah-Hartman
74a1fb67 256a38b0

+2 -2
+2 -2
drivers/staging/winbond/wb35rx.c
··· 261 261 262 262 pWb35Rx->pDRx = kzalloc(MAX_USB_RX_BUFFER, GFP_ATOMIC); 263 263 if (!pWb35Rx->pDRx) { 264 - printk("w35und: Rx memory alloc failed\n"); 264 + dev_info(&hw->wiphy->dev, "w35und: Rx memory alloc failed\n"); 265 265 goto error; 266 266 } 267 267 pRxBufferAddress = pWb35Rx->pDRx; ··· 276 276 retv = usb_submit_urb(urb, GFP_ATOMIC); 277 277 278 278 if (retv != 0) { 279 - printk("Rx URB sending error\n"); 279 + dev_info(&hw->wiphy->dev, "Rx URB sending error\n"); 280 280 goto error; 281 281 } 282 282 return;