aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-04 18:16:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 16:13:59 -0400
commit90ba4f79198e2da11e94d66f6c67cf7cbaf868ac (patch)
tree261d3660d2e0e8b4004813c19c4a7a06897f5ff0 /drivers/usb/misc
parentf7c0b14351c483bdeb86a81d609e26263cb0dd30 (diff)
usb: ftdi-elan: Fix format fragments
Breaking formats into fragments with a split between % and field types should be coalesced. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/ftdi-elan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c
index a4a3c7cd4a11..314e5974c723 100644
--- a/drivers/usb/misc/ftdi-elan.c
+++ b/drivers/usb/misc/ftdi-elan.c
@@ -729,8 +729,8 @@ static void ftdi_elan_write_bulk_callback(struct urb *urb)
729 729
730 if (status && !(status == -ENOENT || status == -ECONNRESET || 730 if (status && !(status == -ENOENT || status == -ECONNRESET ||
731 status == -ESHUTDOWN)) { 731 status == -ESHUTDOWN)) {
732 dev_err(&ftdi->udev->dev, "urb=%p write bulk status received: %" 732 dev_err(&ftdi->udev->dev,
733 "d\n", urb, status); 733 "urb=%p write bulk status received: %d\n", urb, status);
734 } 734 }
735 usb_free_coherent(urb->dev, urb->transfer_buffer_length, 735 usb_free_coherent(urb->dev, urb->transfer_buffer_length,
736 urb->transfer_buffer, urb->transfer_dma); 736 urb->transfer_buffer, urb->transfer_dma);
@@ -1181,8 +1181,8 @@ static ssize_t ftdi_elan_write(struct file *file,
1181 urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; 1181 urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
1182 retval = usb_submit_urb(urb, GFP_KERNEL); 1182 retval = usb_submit_urb(urb, GFP_KERNEL);
1183 if (retval) { 1183 if (retval) {
1184 dev_err(&ftdi->udev->dev, "failed submitting write urb, error %" 1184 dev_err(&ftdi->udev->dev,
1185 "d\n", retval); 1185 "failed submitting write urb, error %d\n", retval);
1186 goto error_3; 1186 goto error_3;
1187 } 1187 }
1188 usb_free_urb(urb); 1188 usb_free_urb(urb);