Skip to content

Commit

Permalink
USB: cdc-acm: add missing newlines to dev_dbg and dev_err
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent bce1a70 commit 59d7fec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ static void acm_ctrl_irq(struct urb *urb)
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 */
Expand All @@ -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);
Expand Down Expand Up @@ -1224,7 +1224,7 @@ static int acm_probe(struct usb_interface *intf,
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;
}

Expand Down

0 comments on commit 59d7fec

Please sign in to comment.