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