https://github.com/torvalds/linux
Revision aba84871bd4f52c4dfcf3ad5d4501a6c9d2de90e authored by Zhang Changzhong on 02 December 2020, 09:57:15 UTC, committed by Jakub Kicinski on 03 December 2020, 02:03:58 UTC
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>
1 parent ff99248
History
Tip revision: aba84871bd4f52c4dfcf3ad5d4501a6c9d2de90e authored by Zhang Changzhong on 02 December 2020, 09:57:15 UTC
net: pasemi: fix error return code in pasemi_mac_open()
Tip revision: aba8487

back to top