Dan Carpenter 8702ed0b0d ice: fix an error code in ice_ena_vfs()
Return the error code if ice_eswitch_configure() fails.  Don't return
success.

Fixes: 1c54c839935b ("ice: enable/disable switchdev when managing VFs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-10-19 10:53:28 -07:00
..
2021-09-28 09:42:04 -07:00
2021-09-28 09:42:04 -07:00
2021-10-19 10:53:27 -07:00
2021-05-28 20:11:13 -07:00
2021-05-28 20:11:13 -07:00
2021-10-07 10:41:42 -07:00
2021-10-19 10:45:16 -07:00
2021-04-14 17:12:17 -07:00
2021-10-15 07:39:03 -07:00
2021-10-15 07:39:03 -07:00
2021-10-15 07:39:03 -07:00