Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220141
b: refs/heads/master
c: d0a5304
h: refs/heads/master
i:
  220139: 111fcf4
v: v3
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Oct 7, 2010
1 parent 639c9fb commit b4a1d7d
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: 2bb32e84a17fab547c7a746c7888e846c9cd88cc
refs/heads/master: d0a530441ea9f2f10172c7f31a007f6b23d3fc19
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/industrialio-ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static ssize_t iio_ring_rip_outer(struct file *filp, char __user *buf,
return -EINVAL;
copied = rb->access.rip_lots(rb, count, &data, &dead_offset);

if (copied < 0) {
if (copied <= 0) {
ret = copied;
goto error_ret;
}
Expand Down

0 comments on commit b4a1d7d

Please sign in to comment.