USB: cdc-acm: add missing newlines to dev_dbg and dev_err
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>
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index e057e53..849aa04 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -341,7 +341,7 @@
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 @@
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 @@
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;
}