]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:36:23 +0000 (17:36 -0700)
commitfc745e690bc437b738ca94326abe6a1e1d423c07
treeeb4f5687062a8b88856538a2de3f01a60377901a
parent0bd58b1af6ac3b2bae4f0d7e3ad25b5bd204ff7d
ehea: Fix a copy-paste err in ehea_init_port_res

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 64e912cf4376 ("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>
drivers/net/ethernet/ibm/ehea/ehea_main.c