diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-09-27 13:09:28 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-09-27 13:09:28 -0700 |
commit | 9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0 (patch) | |
tree | 4c863da394fd58a51cdbc4c0386560fe994ee262 /arch/sparc64/kernel/binfmt_aout32.c | |
parent | ff0ce6845bc18292e80ea40d11c3d3a539a3fc5e (diff) | |
download | linux-9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0.tar.gz linux-9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0.tar.bz2 linux-9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0.zip |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/binfmt_aout32.c')
0 files changed, 0 insertions, 0 deletions