# Re: \[PATCH\] of\_mdio: use of\_property\_read\_u32\_array()

- From: Andrew Lunn \<hidden\>
- Date: 2017-08-05 01:07:39 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/08/8142307
- Thread: https://ratatoskr.run/linux-devicetree/2017/08/8142307/t.md

```text
On Sat, Aug 05, 2017 at 12:43:43AM +0300, Sergei Shtylyov wrote:
> The "fixed-link" prop support predated of_property_read_u32_array(), so
> basically had to open-code it. Using the modern API saves 24 bytes of the
> object code (ARM gcc 4.8.5); the only behavior change would be that the
> prop length check is now less strict (however the strict pre-check done
> in of_phy_is_fixed_link() is left intact anyway)...
> 
> Signed-off-by: Sergei Shtylyov <redacted>

Reviewed-by: Andrew Lunn <redacted>

    Andrew
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
