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: Re: [PATCH 3/4] nfsd: add some stub tracepoints around key vfs functions
Date: Fri, 7 Mar 2025 18:20:14 +0800 [thread overview]
Message-ID: <202503071828.4eKhNhUb-lkp@intel.com> (raw)
In-Reply-To: <20250306-nfsd-tracepoints-v1-3-4405bf41b95f@kernel.org>
Hi Jeff,
kernel test robot noticed the following build errors:
[auto build test ERROR on 7dc86d35a5f8a7ac24b53792c704b101e5041842]
url: https://github.com/intel-lab-lkp/linux/commits/Jeff-Layton/nfsd-add-commit-start-done-tracepoints-around-nfsd_commit/20250306-204120
base: 7dc86d35a5f8a7ac24b53792c704b101e5041842
patch link: https://lore.kernel.org/r/20250306-nfsd-tracepoints-v1-3-4405bf41b95f%40kernel.org
patch subject: [PATCH 3/4] nfsd: add some stub tracepoints around key vfs functions
config: arm-randconfig-003-20250307 (https://download.01.org/0day-ci/archive/20250307/202503071828.4eKhNhUb-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503071828.4eKhNhUb-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/202503071828.4eKhNhUb-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/nfsd/nfsproc.c:57:2: error: call to undeclared function 'trace_nfsd_getattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
57 | trace_nfsd_getattr(rqstp, &argp->fh);
| ^
1 error generated.
vim +/trace_nfsd_getattr +57 fs/nfsd/nfsproc.c
46
47 /*
48 * Get a file's attributes
49 * N.B. After this call resp->fh needs an fh_put
50 */
51 static __be32
52 nfsd_proc_getattr(struct svc_rqst *rqstp)
53 {
54 struct nfsd_fhandle *argp = rqstp->rq_argp;
55 struct nfsd_attrstat *resp = rqstp->rq_resp;
56
> 57 trace_nfsd_getattr(rqstp, &argp->fh);
58
59 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh));
60
61 fh_copy(&resp->fh, &argp->fh);
62 resp->status = fh_verify(rqstp, &resp->fh, 0,
63 NFSD_MAY_NOP | NFSD_MAY_BYPASS_GSS_ON_ROOT);
64 if (resp->status != nfs_ok)
65 goto out;
66 resp->status = fh_getattr(&resp->fh, &resp->stat);
67 out:
68 resp->status = nfsd_map_status(resp->status);
69 return rpc_success;
70 }
71
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2025-03-07 10:21 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250306-nfsd-tracepoints-v1-3-4405bf41b95f@kernel.org>]
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=202503071828.4eKhNhUb-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox