]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Free PHB instance upon error
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 31 Jul 2013 08:47:00 +0000 (16:47 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:57:21 +0000 (14:57 +1000)
commit6ec3b791f9acc77766c268cb870045f27ba70527
tree524bbf5c473a734941327ed703b225eeb65331f8
parentce39aee8be543ac8214d9648b2ca057b2cd220f1
powerpc/powernv: Free PHB instance upon error

We don't free PHB instance (struct pnv_phb) on error to creating
the associated PCI controler (struct pci_controller). The patch
fixes that. Also, the output messages have been cleaned for a bit
so that they looks unified for IODA_1/2 cases.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci-ioda.c