Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23528
b: refs/heads/master
c: c41a24c
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Mar 25, 2006
1 parent d22a467 commit 5eaf060
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: 9a56c213929d83139fd1e12727e1037d71b519f8
refs/heads/master: c41a24ce1fe13638732885859011321af862960a
3 changes: 2 additions & 1 deletion trunk/drivers/isdn/i4l/isdn_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ isdn_ppp_read(int min, struct file *file, char __user *buf, int count)
is->first = b;

spin_unlock_irqrestore(&is->buflock, flags);
copy_to_user(buf, save_buf, count);
if (copy_to_user(buf, save_buf, count))
count = -EFAULT;
kfree(save_buf);

return count;
Expand Down

0 comments on commit 5eaf060

Please sign in to comment.