Skip to content
Commit 1bc9d12e authored by Dan Carpenter's avatar Dan Carpenter Committed by Jakub Kicinski
Browse files

ice: fix error code in ice_eswitch_attach()



Set the "err" variable on this error path.

Fixes: fff292b4 ("ice: add VF representors one by one")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Link: https://lore.kernel.org/r/e0349ee5-76e6-4ff4-812f-4aa0d3f76ae7@moroto.mountain


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4540c29a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment