Stephen Rothwell wrote:
> Hi Jon,

>> +
>> +    dnp = of_find_node_by_type(NULL, "open-pic");
>> +    if (dnp == NULL)
>> +            return;
>> +
>> +    prop = of_get_property(dnp, "reg", &size);
>> +    if (prop == NULL)
>> +            return;
> 
> You need an of_node_put(dnp) before you return.

"Damn your eyes!"

Kumar, I'll send you a patch here...

jdl

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

Reply via email to