linux-brain/drivers/net/ethernet/natsemi
Wang Hai 9d440b5c1d net: natsemi: Fix missing pci_disable_device() in probe and remove
[ Upstream commit 7fe74dfd41c428afb24e2e615470832fa997ff14 ]

Replace pci_enable_device() with pcim_enable_device(),
pci_disable_device() and pci_release_regions() will be
called in release automatically.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-12 13:20:57 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
jazzsonic.c net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()' 2020-05-20 08:20:05 +02:00
macsonic.c net/sonic: Fix some resource leaks in error handling paths 2021-01-17 14:05:31 +01:00
natsemi.c net: natsemi: Fix missing pci_disable_device() in probe and remove 2021-08-12 13:20:57 +02:00
ns83820.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
sonic.c net/sonic: Prevent tx watchdog timeout 2020-01-29 16:45:33 +01:00
sonic.h net/sonic: Quiesce SONIC before re-initializing descriptor memory 2020-01-29 16:45:32 +01:00
xtsonic.c net/sonic: Fix some resource leaks in error handling paths 2021-01-17 14:05:31 +01:00