commit | 7fa6be4fd2f60399f3f3370a87629e102407a724 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Tue Oct 30 21:50:50 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 31 12:42:38 2018 -0700 |
tree | b64190e1b62c917861ab001f3ff50d2a4a7acc91 | |
parent | 1c12493809924deda6c0834cb2f2c5a6dc786390 [diff] |
net: hns3: fix incorrect return value/type of some functions There are some functions that, when they fail to send the command, need to return the corresponding error value to its caller. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Fixes: 681ec3999b3d ("net: hns3: fix for vlan table lost problem when resetting") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>