diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-16 20:43:37 +0200 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:49:33 -0400 |
| commit | 2a36a6153f1fd392e0f49e5b9451c4965f9e0daa (patch) | |
| tree | e27ab520a686d8d337fc38b48df8b2921764df6d /kernel/trace/trace_functions.c | |
| parent | 81b00066b29199149532b96abe1fd9b8d214d2d6 (diff) | |
be2net: Fix an error handling path in 'be_probe()'
[ Upstream commit c19c8c0e666f9259e2fc4d2fa4b9ff8e3b40ee5d ]
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: d6b6d9877878 ("be2net: use PCIe AER capability")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
