>  static void __init xics_init_one_node(struct device_node *np,
> @@ -700,8 +694,10 @@ void __init xics_init_IRQ(void)
>  
>       for_each_node_by_type(np, "PowerPC-External-Interrupt-Presentation") {
>               found = 1;
> -             if (firmware_has_feature(FW_FEATURE_LPAR))
> +             if (firmware_has_feature(FW_FEATURE_LPAR)) {
> +                     of_node_put(np);
>                       break;
> +                     }

Little tab damage up here... no big deal.

>               xics_init_one_node(np, &indx);
>       }
>       if (found == 0

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to