On Tue, 2015-13-10 at 04:09:44 UTC, Andrew Donnellan wrote: > 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 <d...@axtens.net> > Signed-off-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2e1a2556ebbbe7b53a05b721 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev