Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209897
b: refs/heads/master
c: 1865a9c
h: refs/heads/master
i:
  209895: 15c8125
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Aug 24, 2010
1 parent dfb7526 commit 48e7b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d4d4554863b7897f2bc9cd9085f54c819152825
refs/heads/master: 1865a9c382ede507065cf1575308b53495814c7d
2 changes: 1 addition & 1 deletion trunk/drivers/usb/misc/adutux.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ static ssize_t adu_read(struct file *file, __user char *buffer, size_t count,
/* drain secondary buffer */
int amount = bytes_to_read < data_in_secondary ? bytes_to_read : data_in_secondary;
i = copy_to_user(buffer, dev->read_buffer_secondary+dev->secondary_head, amount);
if (i < 0) {
if (i) {
retval = -EFAULT;
goto exit;
}
Expand Down

0 comments on commit 48e7b2e

Please sign in to comment.