Loading
net: hns3: use correct release function during uninitialization
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAN3KC CVE: NA Reference: https://lore.kernel.org/all/20240813141024.1707252-6-shaojijie@huawei.com/ ---------------------------------------------------------------------- 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. Fixes: 46a3df9f ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by:Peiyang Wang <wangpeiyang1@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com>