Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firenze-pci: Fix infinite loop in firenze_pci_add_loc_code()
If ibm,slot-location-code isn't in a PCI device's parent node the loop to search for it will never terminate since p = np->parent is always going to return the same result. Fixes: ab1b05d ("PCI: create optional loc-code platform callback") Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
- Loading branch information