From: Stephen Rothwell Date: Tue, 5 Feb 2008 02:13:15 +0000 (+1100) Subject: [POWERPC] Avoid possible extra of_node_put in axon_msi.c X-Git-Tag: v2.6.25-rc1~303^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6d01179bfee3048cce98fe303d7265faa3861a7;p=pandora-kernel.git [POWERPC] Avoid possible extra of_node_put in axon_msi.c I got this warning from gcc: arch/powerpc/platforms/cell/axon_msi.c:118: warning: 'tmp' may be used uninitialized in this function Which turns out to be a false positive, but pointed out that it was possible for the error path in find_msi_translator() to do an extra of_node_put on a node. This fixes it by localising the ref counting a bit. As a side effect, the warning goes away. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed