diff options
author | 2012-02-04 22:55:01 -0800 | |
---|---|---|
committer | 2012-02-17 09:22:03 -0800 | |
commit | 09cedbef4428580a09b342a7a92a262cfb5cbf25 (patch) | |
tree | 5ad0b8879ae0a3ef1cff5e5e82da4932ef1216e7 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | PCI: pcie: Add support for setting default ASPM policy (diff) | |
download | wireguard-linux-09cedbef4428580a09b342a7a92a262cfb5cbf25.tar.xz wireguard-linux-09cedbef4428580a09b342a7a92a262cfb5cbf25.zip |
PCI: Fix /sys warning when sriov enabled and card is hot removed
sysfs is a bit stricter now and emits warnings in more cases.
For SRIOV hotplug, we are calling pci_stop_dev() for each VF first
(after we update pci_stop_bus_devices) which remove each VF subdir. So
double check the VF dir in /sys before trying to remove the physfn link.
Signed-of-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions