USB: misc: ldusb: Added Space after ',' to fit the coding style
authorMilian Reichardt <mreichardt95@gmail.com>
Sat, 4 Mar 2017 02:42:34 +0000 (03:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:27:41 +0000 (13:27 +0900)
Added a Space after ',' to get rid of an error message in checkpatch.pl
and improve readability

Signed-of-by: Milian Reichardt <mreichardt95@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/ldusb.c

index e965ed24bb3777134ca3c4c648e7e1be1a56b0e2..4dcc346bb97aabf6b5473f02047a4e1a925ca4e5 100644 (file)
@@ -561,7 +561,7 @@ static ssize_t ld_usb_write(struct file *file, const char __user *buffer,
        /* write the data into interrupt_out_buffer from userspace */
        bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size);
        if (bytes_to_write < count)
-               dev_warn(&dev->intf->dev, "Write buffer overflow, %zd bytes dropped\n",count-bytes_to_write);
+               dev_warn(&dev->intf->dev, "Write buffer overflow, %zd bytes dropped\n", count-bytes_to_write);
        dev_dbg(&dev->intf->dev, "%s: count = %zd, bytes_to_write = %zd\n",
                __func__, count, bytes_to_write);