summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/devlink/devlink.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2025-09-12 15:06:22 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-10-24 13:24:00 -0700
commit71430451f81bd6550e46d89b69103a111fc42982 (patch)
treeb0a2c23b4a65ec90cc04ae3497e5ed5dd7a4c77e /drivers/net/ethernet/intel/ice/devlink/devlink.c
parent2fe18288fce6b421f1dc585bcb9dd3afa32d3ad9 (diff)
ice: ice_init_pf: destroy mutexes and xarrays on memory alloc failure
Unroll actions of ice_init_pf() when it fails. ice_deinit_pf() happens to be perfect to call here. Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/devlink/devlink.c')
0 files changed, 0 insertions, 0 deletions