Skip to content
Commit 8702ed0b authored by Dan Carpenter's avatar Dan Carpenter Committed by Tony Nguyen
Browse files

ice: fix an error code in ice_ena_vfs()



Return the error code if ice_eswitch_configure() fails.  Don't return
success.

Fixes: 1c54c839 ("ice: enable/disable switchdev when managing VFs")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 6f332353
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