diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-13 11:00:12 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-19 10:53:28 -0700 |
commit | 8702ed0b0de146c980883896b4cbb40ce860142e (patch) | |
tree | 3e6ebe350cdbab2da1d1d40e0d0107190894559b /drivers/gpio/gpio-cadence.c | |
parent | 6f3323536aa8895b1e3fc6fe6762e7ddee916de1 (diff) | |
download | linux-8702ed0b0de146c980883896b4cbb40ce860142e.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpio/gpio-cadence.c')
0 files changed, 0 insertions, 0 deletions