]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add a return type for pci_reset_bridge_secondary_bus()
authorSinan Kaya <okaya@codeaurora.org>
Tue, 27 Feb 2018 20:14:11 +0000 (14:14 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 5 Mar 2018 14:10:14 +0000 (08:10 -0600)
commit22e37e8f430c42f30accbbb243bc931df1bfd824
treedc61b62f4ae82861c8478e3d656eb2d3c139deaf
parent8f05aa7d39461112358712cbaeb7b7b7cd8e93d8
PCI: Add a return type for pci_reset_bridge_secondary_bus()

Add a return value to pci_reset_bridge_secondary_bus() so we can return an
error if the device doesn't become ready after the reset.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/pci.c
include/linux/pci.h