mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-08-29 02:50:59 +00:00
If of_get_property() fails, it returns NULL and the 'len' parameter is undefined. So we need to explicitly set len to zero in such cases. Noticed by Al Viro. Signed-off-by: David S. Miller <davem@davemloft.net>