mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-18 09:58:55 +09: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>