]> Pileus Git - ~andy/linux/commit
PCI: Simplify IOV implementation and fix reference count races
authorJiang Liu <liuj97@gmail.com>
Sat, 25 May 2013 13:48:37 +0000 (21:48 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Jun 2013 23:39:40 +0000 (17:39 -0600)
commitdc087f2f6a2925e81831f3016b9cbb6e470e7423
tree28d1e60368d9e13b4716f5ecceb1af36565dea07
parentd35329d9f17f05277f2718eb54402dea3e833d19
PCI: Simplify IOV implementation and fix reference count races

Trivial changes to IOV:

  1) use new PCI interfaces to simplify IOV implementation
  2) fix some reference count related race windows

[bhelgaas: fix virtfn_add() add bus/alloc dev error paths]
Signed-off-by: Jiang Liu <jiang.liu@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>
drivers/pci/iov.c