diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-02 12:57:15 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-03 05:03:58 +0300 |
commit | aba84871bd4f52c4dfcf3ad5d4501a6c9d2de90e (patch) | |
tree | fa51484fca3ec1fbeefb0da8f48644255b6e9e50 /drivers/net/vxlan.c | |
parent | ff9924897f8bfed82e61894b373ab9d2dfea5b10 (diff) | |
download | linux-aba84871bd4f52c4dfcf3ad5d4501a6c9d2de90e.tar.xz |
net: pasemi: fix error return code in pasemi_mac_open()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 72b05b9940f0 ("pasemi_mac: RX/TX ring management cleanup")
Fixes: 8d636d8bc5ff ("pasemi_mac: jumbo frame support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1606903035-1838-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions