kernel_samsung_a53x/drivers/net/ethernet/intel/ixgbe
Christophe JAILLET 137d9a0244 ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
[ Upstream commit bbc404d20d1b46d89b461918bc44587620eda200 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:13:22 +01:00
..
ixgbe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_82598.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_82599.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_common.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb_82598.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb_82598.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb_82599.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb_82599.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_dcb_nl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_ethtool.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_fcoe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_fcoe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_ipsec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_ipsec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_main.c ixgbe: Refactor overtemp event handling 2024-11-18 12:13:22 +01:00
ixgbe_mbx.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_mbx.h ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_model.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_phy.c ixgbe: Refactor overtemp event handling 2024-11-18 12:13:22 +01:00
ixgbe_phy.h ixgbe: Refactor overtemp event handling 2024-11-18 12:13:22 +01:00
ixgbe_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_sriov.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_txrx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_type.h ixgbe: Refactor overtemp event handling 2024-11-18 12:13:22 +01:00
ixgbe_x540.c ixgbe: Refactor returning internal error codes 2024-11-18 12:13:22 +01:00
ixgbe_x540.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe_x550.c ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550() 2024-11-18 12:13:22 +01:00
ixgbe_xsk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00