linux-stable/drivers/net/ethernet/atheros/alx
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.h
ethtool.c
hw.c
hw.h
main.c alx: Fix an error handling path in 'alx_probe()' 2021-06-23 14:42:44 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
reg.h