Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235677
b: refs/heads/master
c: 01ebd76
h: refs/heads/master
i:
  235675: 63a52f1
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent 0814fa3 commit 6452e06
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2f644ccfc5a3195290d12b8eedf18a37bba27d98
refs/heads/master: 01ebd764dab26b3064b0c73ddcf726dd4b41485a
3 changes: 2 additions & 1 deletion trunk/drivers/staging/cs5535_gpio/cs5535_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ static ssize_t cs5535_gpio_read(struct file *file, char __user *buf,

/* add a line-feed if there is room */
if ((i == ARRAY_SIZE(rm)) && (count < len)) {
put_user('\n', buf + count);
if (put_user('\n', buf + count))
return -EFAULT;
count++;
}

Expand Down

0 comments on commit 6452e06

Please sign in to comment.