Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264059
b: refs/heads/master
c: 710778f
h: refs/heads/master
i:
  264057: 5b0ffc1
  264055: e7dba6f
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Sep 20, 2011
1 parent 0fe6ba7 commit 42b6365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 22e83a2926998fe132ae4dd26f1e998c70ae2e38
refs/heads/master: 710778ff878a06654175863db133293007d45aee
8 changes: 4 additions & 4 deletions trunk/drivers/net/gianfar_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1669,10 +1669,10 @@ static int gfar_get_cls_all(struct gfar_private *priv,
u32 i = 0;

list_for_each_entry(comp, &priv->rx_list.list, list) {
if (i <= cmd->rule_cnt) {
rule_locs[i] = comp->fs.location;
i++;
}
if (i == cmd->rule_cnt)
return -EMSGSIZE;
rule_locs[i] = comp->fs.location;
i++;
}

cmd->data = MAX_FILER_IDX;
Expand Down

0 comments on commit 42b6365

Please sign in to comment.