[Skiboot] [PATCH] firenze-pci: Fix infinite loop in firenze_pci_add_loc_code()

Oliver O'Halloran oohall at gmail.com
Fri Mar 6 14:32:46 AEDT 2020


On Wed, Feb 26, 2020 at 4:29 PM Oliver O'Halloran <oohall at gmail.com> wrote:
>
> 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: ab1b05d29f5e ("PCI: create optional loc-code platform callback")
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>

Merged as 82aed17a5468aff6b600ee1694a10a60f942c018


More information about the Skiboot mailing list