mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
USB: misc: ldusb: Added Space after ',' to fit the coding style
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>
This commit is contained in:
parent
3d1a4673d8
commit
e314621b47
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
/* write the data into interrupt_out_buffer from userspace */
|
||||||
bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size);
|
bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size);
|
||||||
if (bytes_to_write < count)
|
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",
|
dev_dbg(&dev->intf->dev, "%s: count = %zd, bytes_to_write = %zd\n",
|
||||||
__func__, count, bytes_to_write);
|
__func__, count, bytes_to_write);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue