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)
commit2c832293e09be2f998ea916650927c8ccd5b4b3b
treeab27da1fd2af6acf27a3cf8ba7e855f5073e9ea6
parent48189d6aaf1ed1b382666289a94a50e5269a8946
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: 9b0cdefa4cd5 ("net: mvneta: add ethtool statistics")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c