diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-11 08:13:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 14:41:25 +0200 |
commit | c82e4e78094dd6c598e79f2983a64000a0aaa8a3 (patch) | |
tree | f2a1ef292ec1e1b9f7e728b98ca0255eeee96e10 /net/unix/af_unix.c | |
parent | 4cefa061fc63f4d2dff5ab4083f43857cd7a2335 (diff) |
alx: Fix an error handling path in 'alx_probe()'
[ Upstream commit 33e381448cf7a05d76ac0b47d4a6531ecd0e5c53 ]
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: ab69bde6b2e9 ("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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions