Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277912
b: refs/heads/master
c: b8ffdbd
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Meyer authored and David S. Miller committed Nov 21, 2011
1 parent 8ca15cd commit 022e085
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 65d9d2cac5ee2a33b0cec7044171f67d290e7d6e
refs/heads/master: b8ffdbd05f8692cdadccd04464271e48b1e8d439
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/freescale/gianfar_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1410,10 +1410,9 @@ static int gfar_optimize_filer_masks(struct filer_table *tab)

/* We need a copy of the filer table because
* we want to change its order */
temp_table = kmalloc(sizeof(*temp_table), GFP_KERNEL);
temp_table = kmemdup(tab, sizeof(*temp_table), GFP_KERNEL);
if (temp_table == NULL)
return -ENOMEM;
memcpy(temp_table, tab, sizeof(*temp_table));

mask_table = kcalloc(MAX_FILER_CACHE_IDX / 2 + 1,
sizeof(struct gfar_mask_entry), GFP_KERNEL);
Expand Down

0 comments on commit 022e085

Please sign in to comment.