From: Rafael J. Wysocki Date: Fri, 10 Jan 2014 14:27:56 +0000 (+0100) Subject: MPT / PCI: Use pci_stop_and_remove_bus_device_locked() X-Git-Tag: v3.14-rc1~132^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64cdb4181d87900c6560f8c72d02c7ccf75c9070;p=pandora-kernel.git MPT / PCI: Use pci_stop_and_remove_bus_device_locked() Race conditions are theoretically possible between the MPT PCI device removal and the generic PCI bus rescan and device removal that can be triggered via sysfs. To avoid those race conditions make the MPT PCI code use pci_stop_and_remove_bus_device_locked(). Signed-off-by: Rafael J. Wysocki Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed