[PATCH 5/6] Add OF-tree support to RapidIO controller driver.

Kumar Gala galak at kernel.crashing.org
Wed Feb 6 03:06:04 EST 2008


On Feb 4, 2008, at 11:44 PM, Stephen Rothwell wrote:

>>
>> +	aw = *(u32 *)of_get_property(dev->node, "#address-cells", NULL);
>> +	sw = *(u32 *)of_get_property(dev->node, "#size-cells", NULL);
>
> What happens if either of these properties is missing?

Should we add __must_check to of_get_property?

- k



More information about the Linuxppc-dev mailing list