driver: staging: wlan-ng: switched to pr_warn
authorSherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Sat, 5 Apr 2014 21:33:53 +0000 (23:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 21:53:29 +0000 (14:53 -0700)
changed printk(KERN_WARNING .. to pr_warn

Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 943de9c18634fa558b94a65357578123568e549c..01284ea01cf952fe68e73d0039ccfe3987aea855 100644 (file)
@@ -714,10 +714,9 @@ static int usbctlx_rrid_completor_fn(struct usbctlx_completor *head)
 
        /* Validate the length, note body len calculation in bytes */
        if (rridresult.riddata_len != complete->riddatalen) {
-               printk(KERN_WARNING
-                      "RID len mismatch, rid=0x%04x hlen=%d fwlen=%d\n",
-                      rridresult.rid,
-                      complete->riddatalen, rridresult.riddata_len);
+               pr_warn("RID len mismatch, rid=0x%04x hlen=%d fwlen=%d\n",
+                       rridresult.rid,
+                       complete->riddatalen, rridresult.riddata_len);
                return -ENODATA;
        }