* [snitzer:nfs-localio-for-next 3/23] fs/nfs/nfs2xdr.c:65:12: warning: 'nfs_stat_to_errno' used but never defined
@ 2024-07-13 19:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-13 19:12 UTC (permalink / raw)
To: Mike Snitzer; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/snitzer/linux.git nfs-localio-for-next
head: 85d53fa650a024c154c0befa31a72b4484290c47
commit: 85c08fd7310ca8076283e88773002df86cf23ac6 [3/23] nfs_common: factor out nfs_errtbl and nfs_stat_to_errno
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240714/202407140320.S1BJSqmB-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240714/202407140320.S1BJSqmB-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407140320.S1BJSqmB-lkp@intel.com/
All warnings (new ones prefixed by >>):
fs/nfs/nfs2xdr.c:65:12: error: static declaration of 'nfs_stat_to_errno' follows non-static declaration
65 | static int nfs_stat_to_errno(enum nfs_stat);
| ^~~~~~~~~~~~~~~~~
In file included from fs/nfs/nfs2xdr.c:25:
include/linux/nfs_common.h:14:5: note: previous declaration of 'nfs_stat_to_errno' with type 'int(enum nfs_stat)'
14 | int nfs_stat_to_errno(enum nfs_stat status);
| ^~~~~~~~~~~~~~~~~
>> fs/nfs/nfs2xdr.c:65:12: warning: 'nfs_stat_to_errno' used but never defined
65 | static int nfs_stat_to_errno(enum nfs_stat);
| ^~~~~~~~~~~~~~~~~
vim +/nfs_stat_to_errno +65 fs/nfs/nfs2xdr.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 64
5e7e5a0da28216 Bryan Schumaker 2012-05-10 @65 static int nfs_stat_to_errno(enum nfs_stat);
25a0866cc63281 Chuck Lever 2010-12-14 66
:::::: The code at line 65 was first introduced by commit
:::::: 5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7 NFS: Create an NFS v3 stat_to_errno()
:::::: TO: Bryan Schumaker <bjschuma@netapp.com>
:::::: CC: Trond Myklebust <Trond.Myklebust@netapp.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-13 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-13 19:12 [snitzer:nfs-localio-for-next 3/23] fs/nfs/nfs2xdr.c:65:12: warning: 'nfs_stat_to_errno' used but never defined kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.