From: Jiang Liu Date: Fri, 31 May 2013 04:21:31 +0000 (+0800) Subject: PCI: Hide remove and rescan sysfs interfaces for SR-IOV virtual functions X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~18^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfab88beda88d6c24111e5966b08ecf813c3a18a;p=pandora-kernel.git 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 Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Cc: Donald Dutile Cc: Yinghai Lu Cc: Ram Pai --- Reading git-diff-tree failed