Commit 7660833
net: hns3: use correct release function during uninitialization
pci_request_regions is called to apply for PCI I/O and memory resources
when the driver is initialized, Therefore, when the driver is uninstalled,
pci_release_regions should be used to release PCI I/O and memory resources
instead of pci_release_mem_regions is used to release memory reasouces
only.
Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 86db7bf commit 7660833
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11456 | 11456 | | |
11457 | 11457 | | |
11458 | 11458 | | |
11459 | | - | |
| 11459 | + | |
11460 | 11460 | | |
11461 | 11461 | | |
11462 | 11462 | | |
| |||
0 commit comments