Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200155
b: refs/heads/master
c: 60a5711
h: refs/heads/master
i:
  200153: ff8b995
  200151: 4ed28fd
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Jun 3, 2010
1 parent 97b061e commit 6c4881c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 3b21b508ecc9e043839a5337563cfc77f9fcedb9
refs/heads/master: 60a5711db646b87b9530b16cbaf3bd53ac5594a5
6 changes: 3 additions & 3 deletions trunk/drivers/isdn/capi/kcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,12 +1020,12 @@ static int old_capi_manufacturer(unsigned int cmd, void __user *data)
if (cmd == AVMB1_ADDCARD) {
if ((retval = copy_from_user(&cdef, data,
sizeof(avmb1_carddef))))
return retval;
return -EFAULT;
cdef.cardtype = AVM_CARDTYPE_B1;
} else {
if ((retval = copy_from_user(&cdef, data,
sizeof(avmb1_extcarddef))))
return retval;
return -EFAULT;
}
cparams.port = cdef.port;
cparams.irq = cdef.irq;
Expand Down Expand Up @@ -1218,7 +1218,7 @@ int capi20_manufacturer(unsigned int cmd, void __user *data)
kcapi_carddef cdef;

if ((retval = copy_from_user(&cdef, data, sizeof(cdef))))
return retval;
return -EFAULT;

cparams.port = cdef.port;
cparams.irq = cdef.irq;
Expand Down

0 comments on commit 6c4881c

Please sign in to comment.