summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-28 02:14:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 08:58:29 -0700
commit305787e44ebc21d87ab4d4949da5b97d4252aa9b (patch)
tree47e905126fa2bd76f0992ba22d87d368a0e5eb94 /virt/kvm
parentcdf8803768db6f652d498628fe1421a23c025253 (diff)
downloadop-kernel-dev-305787e44ebc21d87ab4d4949da5b97d4252aa9b.zip
op-kernel-dev-305787e44ebc21d87ab4d4949da5b97d4252aa9b.tar.gz
ncpfs: fix sparse warnings in ioctl.c
In both cases, these inode variables arebeing used to test the server's root inode against NULL. Change them to s_inode. fs/ncpfs/ioctl.c:391:18: warning: symbol 'inode' shadows an earlier one fs/ncpfs/ioctl.c:264:28: originally declared here fs/ncpfs/ioctl.c:441:17: warning: symbol 'inode' shadows an earlier one fs/ncpfs/ioctl.c:264:28: originally declared here In this case, we are about to return anyway, just reuse result. fs/ncpfs/ioctl.c:521:8: warning: symbol 'result' shadows an earlier one fs/ncpfs/ioctl.c:268:6: originally declared here Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Petr Vandrovec <VANDROVE@vc.cvut.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud