linux_dsm_epyc7002/drivers/net/ethernet/samsung/sxgbe
Rasmus Villemoes 79c134239d net: sxgbe: fix error paths in sxgbe_platform_probe()
We need to use post-decrement to ensure that irq_dispose_mapping is
also called on priv->rxq[0]->irq_no; moreover, if one of the above for
loops failed already at i==0 (so we reach one of these labels with
that value of i), we'll enter an essentially infinite loop of
out-of-bounds accesses.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-27 22:39:22 -04:00
..
Makefile sxgbe: remove unused code 2016-02-10 06:10:17 -05:00
sxgbe_common.h
sxgbe_core.c
sxgbe_desc.c
sxgbe_desc.h
sxgbe_dma.c
sxgbe_dma.h
sxgbe_ethtool.c
sxgbe_main.c
sxgbe_mdio.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
sxgbe_mtl.c
sxgbe_mtl.h
sxgbe_platform.c net: sxgbe: fix error paths in sxgbe_platform_probe() 2016-03-27 22:39:22 -04:00
sxgbe_reg.h