]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
USB: cdc-acm: add missing newlines to dev_dbg and dev_err
authorJohan Hovold <jhovold@gmail.com>
Tue, 22 Mar 2011 10:12:12 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:18:26 +0000 (16:18 -0700)
Add missing newline to two dev_dbg and dev_err messages.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c

index e057e5381465b1a12c03e550f3ff6b2f9d4d24e0..849aa04e60934585726e7fbd520b9734b249e74b 100644 (file)
@@ -341,7 +341,7 @@ exit:
        retval = usb_submit_urb(urb, GFP_ATOMIC);
        if (retval)
                dev_err(&urb->dev->dev, "%s - usb_submit_urb failed with "
-                       "result %d", __func__, retval);
+                       "result %d\n", __func__, retval);
 }
 
 /* data interface returns incoming bytes, or we got unthrottled */
@@ -355,7 +355,7 @@ static void acm_read_bulk(struct urb *urb)
        dbg("Entering acm_read_bulk with status %d", status);
 
        if (!ACM_READY(acm)) {
-               dev_dbg(&acm->data->dev, "Aborting, acm not ready");
+               dev_dbg(&acm->data->dev, "Aborting, acm not ready\n");
                return;
        }
        usb_mark_last_busy(acm->dev);
@@ -1224,7 +1224,7 @@ made_compressed_probe:
                snd->urb = usb_alloc_urb(0, GFP_KERNEL);
                if (snd->urb == NULL) {
                        dev_dbg(&intf->dev,
-                               "out of memory (write urbs usb_alloc_urb)");
+                               "out of memory (write urbs usb_alloc_urb)\n");
                        goto alloc_fail8;
                }