Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210816
b: refs/heads/master
c: 49c37c0
h: refs/heads/master
v: v3
  • Loading branch information
Dan Rosenberg authored and David S. Miller committed Sep 17, 2010
1 parent 2af6978 commit 347a216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44467187dc22fdd33a1a06ea0ba86ce20be3fe3c
refs/heads/master: 49c37c0334a9b85d30ab3d6b5d1acb05ef2ef6de
2 changes: 2 additions & 0 deletions trunk/drivers/net/cxgb3/cxgb3_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,6 +2296,8 @@ static int cxgb_extension_ioctl(struct net_device *dev, void __user *useraddr)
case CHELSIO_GET_QSET_NUM:{
struct ch_reg edata;

memset(&edata, 0, sizeof(struct ch_reg));

edata.cmd = CHELSIO_GET_QSET_NUM;
edata.val = pi->nqsets;
if (copy_to_user(useraddr, &edata, sizeof(edata)))
Expand Down

0 comments on commit 347a216

Please sign in to comment.