drivers/net: Convert remaining uses of pr_warning to pr_warn
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / orinoco / orinoco_usb.c
index f4b784fc882b6880a41b3ac2a32b7b857b100d4e..995846422dc0a9e6176f70ad90927833d1b38614 100644 (file)
@@ -534,7 +534,7 @@ static void ezusb_request_out_callback(struct urb *urb)
 
        if (ctx->killed) {
                spin_unlock_irqrestore(&upriv->req_lock, flags);
-               pr_warning("interrupt called with dead ctx");
+               pr_warn("interrupt called with dead ctx\n");
                goto out;
        }
 
@@ -671,8 +671,8 @@ static void ezusb_request_in_callback(struct ezusb_priv *upriv,
        default:
                spin_unlock_irqrestore(&upriv->req_lock, flags);
 
-               pr_warning("Matched IN URB, unexpected context state(0x%x)",
-                    state);
+               pr_warn("Matched IN URB, unexpected context state(0x%x)\n",
+                       state);
                /* Throw this CTX away and try submitting another */
                del_timer(&ctx->timer);
                ctx->outurb->transfer_flags |= URB_ASYNC_UNLINK;
@@ -1394,12 +1394,12 @@ static void ezusb_bulk_in_callback(struct urb *urb)
                /* When a device gets unplugged we get this every time
                 * we resubmit, flooding the logs.  Since we don't use
                 * USB timeouts, it shouldn't happen any other time*/
-               pr_warning("%s: urb timed out, not resubmiting", __func__);
+               pr_warn("%s: urb timed out, not resubmitting\n", __func__);
                return;
        }
        if (urb->status == -ECONNABORTED) {
-               pr_warning("%s: connection abort, resubmiting urb",
-                    __func__);
+               pr_warn("%s: connection abort, resubmitting urb\n",
+                       __func__);
                goto resubmit;
        }
        if ((urb->status == -EILSEQ)
@@ -1608,7 +1608,7 @@ static int ezusb_probe(struct usb_interface *interface,
                if (usb_endpoint_is_bulk_in(ep)) {
                        /* we found a bulk in endpoint */
                        if (upriv->read_urb != NULL) {
-                               pr_warning("Found a second bulk in ep, ignored");
+                               pr_warn("Found a second bulk in ep, ignored\n");
                                continue;
                        }
 
@@ -1618,10 +1618,10 @@ static int ezusb_probe(struct usb_interface *interface,
                                goto error;
                        }
                        if (le16_to_cpu(ep->wMaxPacketSize) != 64)
-                               pr_warning("bulk in: wMaxPacketSize!= 64");
+                               pr_warn("bulk in: wMaxPacketSize!= 64\n");
                        if (ep->bEndpointAddress != (2 | USB_DIR_IN))
-                               pr_warning("bulk in: bEndpointAddress: %d",
-                                    ep->bEndpointAddress);
+                               pr_warn("bulk in: bEndpointAddress: %d\n",
+                                       ep->bEndpointAddress);
                        upriv->read_pipe = usb_rcvbulkpipe(udev,
                                                         ep->
                                                         bEndpointAddress);
@@ -1636,15 +1636,15 @@ static int ezusb_probe(struct usb_interface *interface,
                if (usb_endpoint_is_bulk_out(ep)) {
                        /* we found a bulk out endpoint */
                        if (upriv->bap_buf != NULL) {
-                               pr_warning("Found a second bulk out ep, ignored");
+                               pr_warn("Found a second bulk out ep, ignored\n");
                                continue;
                        }
 
                        if (le16_to_cpu(ep->wMaxPacketSize) != 64)
-                               pr_warning("bulk out: wMaxPacketSize != 64");
+                               pr_warn("bulk out: wMaxPacketSize != 64\n");
                        if (ep->bEndpointAddress != 2)
-                               pr_warning("bulk out: bEndpointAddress: %d",
-                                    ep->bEndpointAddress);
+                               pr_warn("bulk out: bEndpointAddress: %d\n",
+                                       ep->bEndpointAddress);
                        upriv->write_pipe = usb_sndbulkpipe(udev,
                                                          ep->
                                                          bEndpointAddress);