From: kernel test robot <lkp@intel.com>
To: Jeff Layton <jlayton@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jlayton:kdevops 76/81] fs/nfsd/nfsproc.c:463:9: error: implicit declaration of function 'trace_nfsd_proc_rename'; did you mean 'nfsd_proc_rename'?
Date: Wed, 12 Mar 2025 03:55:36 +0800 [thread overview]
Message-ID: <202503120304.2Flcobhs-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git kdevops
head: 86deeee9a2bdf8ba09cfd0ab66dbf448d2e8b82b
commit: 6f74ab2f92f7bac5ff498f008ba91c31cc2ebc10 [76/81] nfsd: add tracepoints to rename events
config: sparc-randconfig-001-20250311 (https://download.01.org/0day-ci/archive/20250312/202503120304.2Flcobhs-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250312/202503120304.2Flcobhs-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/202503120304.2Flcobhs-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/nfsd/nfsproc.c: In function 'nfsd_proc_create':
fs/nfsd/nfsproc.c:295:9: error: implicit declaration of function 'trace_nfsd_proc_create'; did you mean 'nfsd_proc_create'? [-Wimplicit-function-declaration]
295 | trace_nfsd_proc_create(rqstp, dirfhp, S_IFREG, argp->name, argp->len);
| ^~~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_create
fs/nfsd/nfsproc.c: In function 'nfsd_proc_remove':
fs/nfsd/nfsproc.c:447:9: error: implicit declaration of function 'trace_nfsd_proc_remove'; did you mean 'nfsd_proc_remove'? [-Wimplicit-function-declaration]
447 | trace_nfsd_proc_remove(rqstp, &argp->fh, argp->name, argp->len);
| ^~~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_remove
fs/nfsd/nfsproc.c: In function 'nfsd_proc_rename':
>> fs/nfsd/nfsproc.c:463:9: error: implicit declaration of function 'trace_nfsd_proc_rename'; did you mean 'nfsd_proc_rename'? [-Wimplicit-function-declaration]
463 | trace_nfsd_proc_rename(rqstp, &argp->ffh, &argp->tfh, argp->fname,
| ^~~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_rename
fs/nfsd/nfsproc.c: In function 'nfsd_proc_link':
fs/nfsd/nfsproc.c:480:9: error: implicit declaration of function 'trace_nfsd_proc_link'; did you mean 'nfsd_proc_link'? [-Wimplicit-function-declaration]
480 | trace_nfsd_proc_link(rqstp, &argp->ffh, &argp->tfh, argp->tname, argp->tlen);
| ^~~~~~~~~~~~~~~~~~~~
| nfsd_proc_link
fs/nfsd/nfsproc.c: In function 'nfsd_proc_symlink':
fs/nfsd/nfsproc.c:500:9: error: implicit declaration of function 'trace_nfsd_proc_symlink'; did you mean 'nfsd_proc_symlink'? [-Wimplicit-function-declaration]
500 | trace_nfsd_proc_symlink(rqstp, &argp->ffh, argp->fname, argp->flen,
| ^~~~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_symlink
fs/nfsd/nfsproc.c:534:1: error: invalid storage class for function 'nfsd_proc_mkdir'
534 | nfsd_proc_mkdir(struct svc_rqst *rqstp)
| ^~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c: In function 'nfsd_proc_mkdir':
fs/nfsd/nfsproc.c:542:9: error: implicit declaration of function 'trace_nfsd_proc_mkdir'; did you mean 'nfsd_proc_mkdir'? [-Wimplicit-function-declaration]
542 | trace_nfsd_proc_mkdir(rqstp, &argp->fh, S_IFDIR, argp->name, argp->len);
| ^~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_mkdir
fs/nfsd/nfsproc.c: In function 'nfsd_proc_symlink':
fs/nfsd/nfsproc.c:567:1: error: invalid storage class for function 'nfsd_proc_rmdir'
567 | nfsd_proc_rmdir(struct svc_rqst *rqstp)
| ^~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c: In function 'nfsd_proc_rmdir':
fs/nfsd/nfsproc.c:572:9: error: implicit declaration of function 'trace_nfsd_proc_rmdir'; did you mean 'nfsd_proc_rmdir'? [-Wimplicit-function-declaration]
572 | trace_nfsd_proc_rmdir(rqstp, &argp->fh, argp->name, argp->len);
| ^~~~~~~~~~~~~~~~~~~~~
| nfsd_proc_rmdir
fs/nfsd/nfsproc.c: In function 'nfsd_proc_symlink':
fs/nfsd/nfsproc.c:581:13: error: invalid storage class for function 'nfsd_init_dirlist_pages'
581 | static void nfsd_init_dirlist_pages(struct svc_rqst *rqstp,
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:603:1: error: invalid storage class for function 'nfsd_proc_readdir'
603 | nfsd_proc_readdir(struct svc_rqst *rqstp)
| ^~~~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:631:1: error: invalid storage class for function 'nfsd_proc_statfs'
631 | nfsd_proc_statfs(struct svc_rqst *rqstp)
| ^~~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:816:28: error: initializer element is not constant
816 | .pc_func = nfsd_proc_mkdir,
| ^~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:816:28: note: (near initialization for 'nfsd_procedures2[14].pc_func')
fs/nfsd/nfsproc.c:828:28: error: initializer element is not constant
828 | .pc_func = nfsd_proc_rmdir,
| ^~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:828:28: note: (near initialization for 'nfsd_procedures2[15].pc_func')
fs/nfsd/nfsproc.c:839:28: error: initializer element is not constant
839 | .pc_func = nfsd_proc_readdir,
| ^~~~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:839:28: note: (near initialization for 'nfsd_procedures2[16].pc_func')
fs/nfsd/nfsproc.c:849:28: error: initializer element is not constant
849 | .pc_func = nfsd_proc_statfs,
| ^~~~~~~~~~~~~~~~
fs/nfsd/nfsproc.c:849:28: note: (near initialization for 'nfsd_procedures2[17].pc_func')
fs/nfsd/nfsproc.c:870:1: error: expected declaration or statement at end of input
870 | };
| ^
fs/nfsd/nfsproc.c:863:26: warning: unused variable 'nfsd_version2' [-Wunused-variable]
863 | const struct svc_version nfsd_version2 = {
| ^~~~~~~~~~~~~
fs/nfsd/nfsproc.c: At top level:
fs/nfsd/nfsproc.c:491:1: warning: 'nfsd_proc_symlink' defined but not used [-Wunused-function]
491 | nfsd_proc_symlink(struct svc_rqst *rqstp)
| ^~~~~~~~~~~~~~~~~
vim +463 fs/nfsd/nfsproc.c
456
457 static __be32
458 nfsd_proc_rename(struct svc_rqst *rqstp)
459 {
460 struct nfsd_renameargs *argp = rqstp->rq_argp;
461 struct nfsd_stat *resp = rqstp->rq_resp;
462
> 463 trace_nfsd_proc_rename(rqstp, &argp->ffh, &argp->tfh, argp->fname,
464 argp->flen, argp->tname, argp->tlen);
465
466 resp->status = nfsd_rename(rqstp, &argp->ffh, argp->fname, argp->flen,
467 &argp->tfh, argp->tname, argp->tlen);
468 fh_put(&argp->ffh);
469 fh_put(&argp->tfh);
470 resp->status = nfsd_map_status(resp->status);
471 return rpc_success;
472 }
473
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-03-11 19:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202503120304.2Flcobhs-lkp@intel.com \
--to=lkp@intel.com \
--cc=jlayton@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.