mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08: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>