Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19645
b: refs/heads/master
c: abffa7d
h: refs/heads/master
i:
  19643: 13210ab
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed Feb 3, 2006
1 parent e5f89cf commit d42ce86
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: 74adb52797a7cde217a8ceeaf254a5441a42a72c
refs/heads/master: abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d
4 changes: 2 additions & 2 deletions trunk/drivers/isdn/sc/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ int sc_ioctl(int card, scs_ioctl *data)
/*
* Get the SRec from user space
*/
if (copy_from_user(srec, data->dataptr, sizeof(srec))) {
if (copy_from_user(srec, data->dataptr, SCIOC_SRECSIZE)) {
kfree(rcvmsg);
kfree(srec);
return -EFAULT;
}

status = send_and_receive(card, CMPID, cmReqType2, cmReqClass0, cmReqLoadProc,
0, sizeof(srec), srec, rcvmsg, SAR_TIMEOUT);
0, SCIOC_SRECSIZE, srec, rcvmsg, SAR_TIMEOUT);
kfree(rcvmsg);
kfree(srec);

Expand Down

0 comments on commit d42ce86

Please sign in to comment.