提交 59d7fec7 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

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: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 bce1a702
......@@ -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 */
......@@ -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 @@ 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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册