Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200156
b: refs/heads/master
c: d233807
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Jun 3, 2010
1 parent 6c4881c commit b4cc5ac
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: 60a5711db646b87b9530b16cbaf3bd53ac5594a5
refs/heads/master: d23380701876dd93d310b2548c51d0f78f25d7aa
4 changes: 2 additions & 2 deletions trunk/drivers/net/tehuti.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ static int bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd)
error = copy_from_user(data, ifr->ifr_data, sizeof(data));
if (error) {
pr_err("cant copy from user\n");
RET(error);
RET(-EFAULT);
}
DBG("%d 0x%x 0x%x\n", data[0], data[1], data[2]);
}
Expand All @@ -665,7 +665,7 @@ static int bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd)
data[2]);
error = copy_to_user(ifr->ifr_data, data, sizeof(data));
if (error)
RET(error);
RET(-EFAULT);
break;

case BDX_OP_WRITE:
Expand Down

0 comments on commit b4cc5ac

Please sign in to comment.