Andrew Donnellan 2e1a2556eb cxl: Free virtual PHB when removing
When adding a vPHB in cxl_pci_vphb_add(), we allocate a pci_controller
struct using pcibios_alloc_controller(). However, we don't free it in
cxl_pci_vphb_remove(), causing a leak.

Call pcibios_free_controller() in cxl_pci_vphb_remove() to free the vPHB
data structure correctly.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-10-15 20:31:58 +11:00
..
2015-08-30 18:56:34 +10:00
2015-08-18 19:34:43 +10:00
2015-08-17 13:56:29 +10:00
2015-01-22 17:31:51 +11:00
2015-07-13 10:10:54 +10:00
2015-10-15 20:31:58 +11:00