Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330207
b: refs/heads/master
c: 786fdf0
h: refs/heads/master
i:
  330205: 9b0c8bf
  330203: 6f283ed
  330199: 43d042d
  330191: af71549
  330175: 85c4e9e
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Oct 3, 2012
1 parent d62dab0 commit f741ff7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 62b54dd91567686a1cb118f76a72d5f4764a86dd
refs/heads/master: 786fdf0bbf1c3a1b402bb2da946b93e0b36a8f32
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3052,9 +3052,8 @@ static void bnx2x_drv_info_ether_stat(struct bnx2x *bp)
struct eth_stats_info *ether_stat =
&bp->slowpath->drv_info_to_mcp.ether_stat;

/* leave last char as NULL */
memcpy(ether_stat->version, DRV_MODULE_VERSION,
ETH_STAT_INFO_VERSION_LEN - 1);
strlcpy(ether_stat->version, DRV_MODULE_VERSION,
ETH_STAT_INFO_VERSION_LEN);

bp->sp_objs[0].mac_obj.get_n_elements(bp, &bp->sp_objs[0].mac_obj,
DRV_INFO_ETH_STAT_NUM_MACS_REQUIRED,
Expand Down

0 comments on commit f741ff7

Please sign in to comment.