diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-01-20 18:25:36 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-01-29 10:02:01 -0800 |
commit | bbc404d20d1b46d89b461918bc44587620eda200 (patch) | |
tree | 328ed57cba3e63b7ed3b730c311bf7222c86a796 /net/unix/af_unix.c | |
parent | f1f6a6b1830a8f1dc92ee26fae76333f446b0663 (diff) |
ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
All error handling paths, except this one, go to 'out' where
release_swfw_sync() is called.
This call balances the acquire_swfw_sync() call done at the beginning of
the function.
Branch to the error handling path in order to correctly release some
resources in case of error.
Fixes: ae14a1d8e104 ("ixgbe: Fix IOSF SB access issues")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions