kernel_samsung_a53x/drivers/net/ethernet/marvell/octeontx2/nic
Su Hui 3db0a3dee8 octeontx2-pf: check negative error code in otx2_open()
commit e709acbd84fb6ef32736331b0147f027a3ef4c20 upstream.

otx2_rxtx_enable() return negative error code such as -EIO,
check -EIO rather than EIO to fix this problem.

Fixes: c926252205c4 ("octeontx2-pf: Disable packet I/O for graceful exit")
Signed-off-by: Su Hui <suhui@nfschina.com>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20240328020620.4054692-1-suhui@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:47 +01:00
..
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_ethtool.c octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam 2024-11-18 12:11:38 +01:00
otx2_pf.c octeontx2-pf: check negative error code in otx2_open() 2024-11-19 09:22:47 +01:00
otx2_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_struct.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_txrx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
otx2_vf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00