Skip to content
Commit a5a14ea7 authored by chongjiapeng's avatar chongjiapeng Committed by David S. Miller
Browse files

qed: Fix missing error code in qed_slowpath_start()



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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Fixes: d51e4af5 ("qed: aRFS infrastructure support")
Signed-off-by: default avatarchongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1951b3f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment