[PATCH] cxl: Check if vphb exists before iterating over AFU devices

Vaibhav Jain vaibhav at linux.vnet.ibm.com
Wed Nov 22 18:27:58 AEDT 2017


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:
> Looks to me like we might need the same fix in 
> cxl_vphb_error_detected()? It's called twice in 
> cxl_pci_error_detected(), and in only one of those cases is it 
> surrounded by an afu->phb NULL check.
Thanks for catching this. Will send a v2 with update.


-- 
Vaibhav Jain <vaibhav at linux.vnet.ibm.com>
Linux Technology Center, IBM India Pvt. Ltd.



More information about the Linuxppc-dev mailing list