From: Dan Carpenter Date: Wed, 25 Feb 2015 13:23:22 +0000 (+0300) Subject: PCI: cpcihp: Add missing curly braces in cpci_configure_slot() X-Git-Tag: omap-for-v4.1/fixes-rc1~217^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3b5b47c80da8838758731d423179262c9c36ec;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Yijing Wang CC: stable@vger.kernel.org # v3.9+ --- Reading git-diff-tree failed