]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: fix trivial cut-off issue in mvneta_ethtool_update_stats
authorJisheng Zhang <jszhang@marvell.com>
Wed, 20 Jan 2016 08:36:25 +0000 (16:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2016 20:03:30 +0000 (12:03 -0800)
commit6eb11a3b2c4e21c3a63cdae71919ee286a5683d0
treeab27da1fd2af6acf27a3cf8ba7e855f5073e9ea6
parent3695007d2771f10009fbdc2739abbf64b6cfdb71
net: mvneta: fix trivial cut-off issue in mvneta_ethtool_update_stats

When s->type is T_REG_64, the high 32bits are lost in val. This patch
fixes this trivial issue.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Fixes: 85251ea34770 ("net: mvneta: add ethtool statistics")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c