[PATCH 3/4 v4] POWERPC: Add initial iomega StorCenter board port.

Jon Loeliger jdl at freescale.com
Fri Jan 25 02:06:03 EST 2008


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




More information about the Linuxppc-dev mailing list