From: David S. Miller Date: Thu, 27 Sep 2007 20:09:28 +0000 (-0700) Subject: [SPARC]: Fix EBUS use of uninitialized variable. X-Git-Tag: v2.6.23~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0;p=pandora-kernel.git [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 --- Reading git-diff-tree failed