git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0ce68
)
[SPARC]: Fix EBUS use of uninitialized variable.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 27 Sep 2007 20:09:28 +0000
(13:09 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 27 Sep 2007 20:09:28 +0000
(13:09 -0700)
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>
No differences found