aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-01-27 00:49:13 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-26 09:33:30 -0800
commit47ef6deccdfffaef8f56c5021a83a774fc77ee13 (patch)
tree3b5edc78332d8fdd984e5c49044d7bac1c66370a /tools/perf/scripts/python
parentnet: hns3: add error handling in hclge_ieee_setets (diff)
downloadlinux-47ef6deccdfffaef8f56c5021a83a774fc77ee13.tar.gz
linux-47ef6deccdfffaef8f56c5021a83a774fc77ee13.zip
net: hns3: fix return value handle issue for hclge_set_loopback()
In current code, it always return 0, even loopback mode setting failed. It's incorrect. This patch fixes return value handle for loopback test. Fixes: 0f29fc23b21d ("net: hns3: Fix for loopback selftest failed problem") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions