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

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Thu Feb 27 22:46:03 AEDT 2020



On 2/26/2020 2:29 AM, Oliver O'Halloran wrote:

>   	 */
> -	for (p = np->parent; p; p = np->parent) {
> +	for (p = np->parent; p; p = p->parent) {
>   		blcode = dt_prop_get_def(p, "ibm,slot-location-code", NULL);

Good catch!

I should have seen it the first time..

  -Klaus

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the Skiboot mailing list