mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ice: ice_init_pf: destroy mutexes and xarrays on memory alloc failure
[ Upstream commit71430451f8] 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> Stable-dep-of:1390b8b3d2("ice: remove duplicate call to ice_deinit_hw() on error paths") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0380ea173b
commit
46d0b034b1
1 changed files with 12 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue