diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-05-15 14:20:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-16 11:33:08 -0400 |
commit | 6a814413eb9eb76d61de154d4f7b46e2a1558d7a (patch) | |
tree | c4fe0791b3fae64ff195b7c44c07837e103b5d7b /scripts/bpf_helpers_doc.py | |
parent | fa8d82e853e84de998e91e95d7a09aa04a7f79ee (diff) |
net: hns3: Fixes the missing PCI iounmap for various legs
We call pcim_iomap in hclge_pci_init, pcim_iounmap should be called
in error handle of hclge_init_ae_dev.
We call pcim_iomap in hclge_pci_init, but do not call pcim_iounmap in
hclge_pci_uninit. When we remove the hclge.ko and insert it again, a
problem that pci can not map will happen. pcim_iounmap need to be called
in hclge_pci_uninit.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions