diff options
author | chongjiapeng <jiapeng.chong@linux.alibaba.com> | 2021-10-09 16:09:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-20 10:42:06 +0200 |
commit | 1bb18987cadeb7cd455aa98e4ec6bc360df286de (patch) | |
tree | 1f1d23e2f3535a7bef0aec844b0c57f705746495 /drivers/net/usb/Kconfig | |
parent | b493e891a274b64af1da940a42fb050dd631918c (diff) |
qed: Fix missing error code in qed_slowpath_start()
commit a5a14ea7b4e55604acb0dc9d88fdb4cb6945bc77 upstream.
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'rc'.
Eliminate the follow smatch warning:
drivers/net/ethernet/qlogic/qed/qed_main.c:1298 qed_slowpath_start()
warn: missing error code 'rc'.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: d51e4af5c209 ("qed: aRFS infrastructure support")
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions