* [jlayton:dir-deleg 14/25] fs/nfsd/nfs4state.c:9911:1: error: conflicting types for 'nfsd4_run_cb_notify'
@ 2026-04-09 4:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-09 4:02 UTC (permalink / raw)
To: Jeff Layton; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git dir-deleg
head: f46f4f860e384a5bc2c7a8f2fa64872ba4e303a5
commit: 748b5689ecabe0a80846c79cc0b468005b4d7e19 [14/25] nfsd: add notification handlers for dir events
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260409/202604090534.tunlxR45-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260409/202604090534.tunlxR45-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/202604090534.tunlxR45-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/nfsd/nfs4state.c:3583:3: error: call to undeclared function 'nfsd4_run_cb_notify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3583 | nfsd4_run_cb_notify(ncn);
| ^
>> fs/nfsd/nfs4state.c:9911:1: error: conflicting types for 'nfsd4_run_cb_notify'
9911 | nfsd4_run_cb_notify(struct nfsd4_cb_notify *ncn)
| ^
fs/nfsd/nfs4state.c:3583:3: note: previous implicit declaration is here
3583 | nfsd4_run_cb_notify(ncn);
| ^
2 errors generated.
vim +/nfsd4_run_cb_notify +9911 fs/nfsd/nfs4state.c
9909
9910 static void
> 9911 nfsd4_run_cb_notify(struct nfsd4_cb_notify *ncn)
9912 {
9913 struct nfs4_delegation *dp = container_of(ncn, struct nfs4_delegation, dl_cb_notify);
9914
9915 if (test_and_set_bit(NFSD4_CALLBACK_RUNNING, &ncn->ncn_cb.cb_flags))
9916 return;
9917
9918 if (!refcount_inc_not_zero(&dp->dl_stid.sc_count))
9919 clear_bit(NFSD4_CALLBACK_RUNNING, &ncn->ncn_cb.cb_flags);
9920 else
9921 nfsd4_run_cb(&ncn->ncn_cb);
9922 }
9923
--
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:[~2026-04-09 4:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 4:02 [jlayton:dir-deleg 14/25] fs/nfsd/nfs4state.c:9911:1: error: conflicting types for 'nfsd4_run_cb_notify' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox