linux-stable/drivers/net/ethernet/atheros
Christophe JAILLET 5bf940fe91 alx: Fix an error handling path in 'alx_probe()'
[ Upstream commit 33e381448c ]

If an error occurs after a 'pci_enable_pcie_error_reporting()' call, it
must be undone by a corresponding 'pci_disable_pcie_error_reporting()'
call, as already done in the remove function.

Fixes: ab69bde6b2 ("alx: add a simple AR816x/AR817x device driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-23 14:42:44 +02:00
..
alx alx: Fix an error handling path in 'alx_probe()' 2021-06-23 14:42:44 +02:00
atl1c atl1c: fix error return code in atl1c_probe() 2020-11-18 11:00:17 -08:00
atl1e atl1e: fix error return code in atl1e_probe() 2020-11-18 11:02:15 -08:00
atlx net: atheros: Remove WARN_ON(in_interrupt()) 2020-09-29 14:02:53 -07:00
ag71xx.c net: ag71xx: remove unnecessary MTU reservation 2021-03-07 12:34:07 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00