diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-05-31 12:21:31 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-06-05 12:18:50 -0600 |
commit | dfab88beda88d6c24111e5966b08ecf813c3a18a (patch) | |
tree | f3450d385cc3362201b3ac5a6c3d7cd8d8945886 /drivers/rpmsg | |
parent | fbf33f516bdbcc2ab1ba1e54dfb720b0cfaa6874 (diff) |
PCI: Hide remove and rescan sysfs interfaces for SR-IOV virtual functions
PCI devices for SR-IOV virtual functions should only be created/
destroyed by pci_enable_sriov()/pci_disable_sriov() because special
data structures are associated with SR-IOV virtual functions.
So hide hotplug related sysfs interfaces "remove" and "rescan" for
SR-IOV virtual functions, otherwise it may cause memory leakage
and other issues.
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Donald Dutile <ddutile@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Ram Pai <linuxram@us.ibm.com>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions