Skip to content
Commit 9c908f97 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC]: Fix EBUS use of uninitialized variable.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent ff0ce684
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment