summaryrefslogtreecommitdiff
path: root/arch/mips/fw
diff options
context:
space:
mode:
authorAlexander Duyck <aduyck@mirantis.com>2015-10-29 16:21:05 -0500
committerBjorn Helgaas <bhelgaas@google.com>2015-10-30 15:14:00 -0500
commit3443c38205330bc5783a516ef1d0b6f182ee9a85 (patch)
tree7cf2f33097b52949218d1d5c6292938695394f97 /arch/mips/fw
parentce288ec380380f3ab0e3c631b9c2f598835a3f38 (diff)
PCI: Remove VFs in reverse order if virtfn_add() fails
If virtfn_add() fails, we call virtfn_remove() for any previously added devices. Remove the devices in reverse order (first-added is last-removed), which is more natural and doesn't require an additional variable. [bhelgaas: changelog, split to separate patch for reviewability] Signed-off-by: Alexander Duyck <aduyck@mirantis.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Diffstat (limited to 'arch/mips/fw')
0 files changed, 0 insertions, 0 deletions