diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-02-04 21:13:15 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-06 00:30:00 -0500 |
commit | c6d01179bfee3048cce98fe303d7265faa3861a7 (patch) | |
tree | 216faf6fffd748b761abd4feec307f5b3020e9dd /include/asm-powerpc/vio.h | |
parent | de4c928b843063b7079c35c950c1d38c559fa0cb (diff) |
[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 <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/vio.h')
0 files changed, 0 insertions, 0 deletions