diff options
author | 2021-07-28 15:43:13 +0800 | |
---|---|---|
committer | 2021-07-28 09:26:49 +0100 | |
commit | 76a16be07b209a3f507c72abe823bd3af1c8661a (patch) | |
tree | 7c265781ba026f6c2e2ede9e93c025dea617ab3e /net/unix/af_unix.c | |
parent | sctp: fix return value check in __sctp_rcv_asconf_lookup (diff) | |
download | wireguard-linux-76a16be07b209a3f507c72abe823bd3af1c8661a.tar.xz wireguard-linux-76a16be07b209a3f507c72abe823bd3af1c8661a.zip |
tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions