staging:usbip:stub_rx.c: Remove warning quoted string split across lines
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 2 Nov 2013 12:01:22 +0000 (17:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 19:51:53 +0000 (11:51 -0800)
This patch removes the checkpatch.pl warnings "quoted string split
across lines" in stub_rx.c by merging the quoted strings and the
ensuring that the lines are not more than 80 characters long.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_rx.c

index db48a78..5d1d4a1 100644 (file)
@@ -102,11 +102,13 @@ static int tweak_clear_halt_cmd(struct urb *urb)
 
        ret = usb_clear_halt(urb->dev, target_pipe);
        if (ret < 0)
-               dev_err(&urb->dev->dev, "usb_clear_halt error: devnum %d endp "
-                       "%d ret %d\n", urb->dev->devnum, target_endp, ret);
+               dev_err(&urb->dev->dev,
+                       "usb_clear_halt error: devnum %d endp %d ret %d\n",
+                       urb->dev->devnum, target_endp, ret);
        else
-               dev_info(&urb->dev->dev, "usb_clear_halt done: devnum %d endp "
-                        "%d\n", urb->dev->devnum, target_endp);
+               dev_info(&urb->dev->dev,
+                        "usb_clear_halt done: devnum %d endp %d\n",
+                        urb->dev->devnum, target_endp);
 
        return ret;
 }
@@ -127,11 +129,13 @@ static int tweak_set_interface_cmd(struct urb *urb)
 
        ret = usb_set_interface(urb->dev, interface, alternate);
        if (ret < 0)
-               dev_err(&urb->dev->dev, "usb_set_interface error: inf %u alt "
-                       "%u ret %d\n", interface, alternate, ret);
+               dev_err(&urb->dev->dev,
+                       "usb_set_interface error: inf %u alt %u ret %d\n",
+                       interface, alternate, ret);
        else
-               dev_info(&urb->dev->dev, "usb_set_interface done: inf %u alt "
-                        "%u\n", interface, alternate);
+               dev_info(&urb->dev->dev,
+                       "usb_set_interface done: inf %u alt %u\n",
+                       interface, alternate);
 
        return ret;
 }