kernel_samsung_a53x/drivers/net/ethernet/marvell
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
..
mvpp2 net: mvpp2: clear BM pool before initialization 2024-11-18 12:13:01 +01:00
octeontx2 octeontx2-pf: check negative error code in otx2_open() 2024-11-19 09:22:47 +01:00
prestera Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv643xx_eth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
mvmdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvneta.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
mvneta_bm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvneta_bm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa168_eth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
skge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skge.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sky2.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
sky2.h sky2: Make sure there is at least one frag_addr available 2024-11-08 11:26:17 +01:00