Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224989
b: refs/heads/master
c: 36accae
h: refs/heads/master
i:
  224987: 8b5d33f
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Dec 11, 2010
1 parent 053bfd6 commit d69b222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5d52040d4d1eabb56a4d51b760ab8f74eabb9001
refs/heads/master: 36accaed22347f4b09cbc3c9fe2c1163a3575ea1
4 changes: 2 additions & 2 deletions trunk/drivers/isdn/hisax/isar.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ isar_load_firmware(struct IsdnCardState *cs, u_char __user *buf)
cs->debug &= ~(L1_DEB_HSCX | L1_DEB_HSCX_FIFO);
#endif

if ((ret = copy_from_user(&size, p, sizeof(int)))) {
if (copy_from_user(&size, p, sizeof(int))) {
printk(KERN_ERR"isar_load_firmware copy_from_user ret %d\n", ret);
return ret;
return -EFAULT;
}
p += sizeof(int);
printk(KERN_DEBUG"isar_load_firmware size: %d\n", size);
Expand Down

0 comments on commit d69b222

Please sign in to comment.