ehea: Fix a copy-paste err in ehea_init_port_res
authorYueHaibing <yuehaibing@huawei.com>
Wed, 3 Apr 2019 07:47:59 +0000 (15:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:46:28 +0000 (14:46 +0100)
commit105f6b1ab3d04b6477cb1d45b4d8dba5e64c210e
treec0c13af9727a4b590575a3d418ff9e8187941825
parenta040d2bf4437e0efd75a811207e79be3001cc5b9
ehea: Fix a copy-paste err in ehea_init_port_res

[ Upstream commit c8f191282f819ab4e9b47b22a65c6c29734cefce ]

pr->tx_bytes should be assigned to tx_bytes other than
rx_bytes.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: ce45b873028f ("ehea: Fixing statistics")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ibm/ehea/ehea_main.c