]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: cpcihp: Add missing curly braces in cpci_configure_slot()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 25 Feb 2015 13:23:22 +0000 (16:23 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 12 Mar 2015 16:22:10 +0000 (11:22 -0500)
commitbc3b5b47c80da8838758731d423179262c9c36ec
tree007b9cd3a86b737cff0d19442af9a5101487604b
parenta1b7f2f6367944d445c6853035830a35c6343939
PCI: cpcihp: Add missing curly braces in cpci_configure_slot()

I don't have this hardware but it looks like we weren't adding bridge
devices as intended.  Maybe the bridge is always the last device?

Fixes: 05b125004815 ("PCI: cpcihp: Iterate over all devices in slot, not functions 0-7")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yijing Wang <wangyijing@huawei.com>
CC: stable@vger.kernel.org # v3.9+
drivers/pci/hotplug/cpci_hotplug_pci.c