summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2021-07-31 14:38:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-15 12:59:54 +0200
commit995abf774fadf2ed4bb823343c38827de9354a50 (patch)
tree69d7f2731c6b5ca9f18ddb78c42829e278e35ec0 /arch
parent0dd09c612e0b05f4516079957cd3a8de75f54199 (diff)
downloadlinux-stable-995abf774fadf2ed4bb823343c38827de9354a50.tar.gz
linux-stable-995abf774fadf2ed4bb823343c38827de9354a50.tar.bz2
linux-stable-995abf774fadf2ed4bb823343c38827de9354a50.zip
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: 1da177e4c3f4 ("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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions