linux_dsm_epyc7002/fs/ncpfs
Harvey Harrison 305787e44e 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>
2008-04-28 08:58:29 -07:00
..
dir.c [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
file.c Only send SIGXFSZ when exceeding rlimits. 2007-07-16 09:05:43 -07:00
getopt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
getopt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c ncpfs: add prototypes to ncp_fs.h 2008-04-28 08:58:29 -07:00
ioctl.c ncpfs: fix sparse warnings in ioctl.c 2008-04-28 08:58:29 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmap.c vm audit: add VM_DONTEXPAND to mmap for drivers that need it 2008-02-04 07:55:38 -08:00
ncplib_kernel.c NCP: delete test of long-deceased CONFIG_NCPFS_DEBUGDENTRY 2007-07-31 15:39:41 -07:00
ncplib_kernel.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ncpsign_kernel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ncpsign_kernel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.c ncpfs: make sure server connection survives a kill 2007-03-06 13:26:27 +01:00
symlink.c [PATCH] fs: Removing useless casts 2006-09-27 08:26:10 -07:00