* [cel:nfsv3-xdrgen 60/75] fs/nfsd/nfs2acl.c:177:10: error: no member named 'access' in 'struct nfsd3_accessargs'
@ 2025-11-27 23:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-27 23:01 UTC (permalink / raw)
To: Chuck Lever; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux nfsv3-xdrgen
head: d6deccd7892291215036a5d70a688a2ccf230b15
commit: 2d303c4ac8b0e06b053ef4258525fa113324c050 [60/75] NFSD: Use xdrgen XDR functions for NFSv3 ACCESS procedure
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20251128/202511280658.xSZMMz2E-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/20251128/202511280658.xSZMMz2E-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/202511280658.xSZMMz2E-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/nfsd/nfs2acl.c:177:10: error: no member named 'access' in 'struct nfsd3_accessargs'
177 | argp->access);
| ~~~~ ^
include/linux/sunrpc/debug.h:25:28: note: expanded from macro 'dprintk'
25 | dfprintk(FACILITY, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:42:26: note: expanded from macro 'dfprintk'
42 | __sunrpc_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:34:57: note: expanded from macro '__sunrpc_printk'
34 | # define __sunrpc_printk(fmt, ...) trace_printk(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/kernel.h:276:26: note: expanded from macro 'trace_printk'
276 | do_trace_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/kernel.h:287:37: note: expanded from macro 'do_trace_printk'
287 | __trace_printk_check_format(fmt, ##args); \
| ^~~~
include/linux/kernel.h:239:40: note: expanded from macro '__trace_printk_check_format'
239 | ____trace_printk_check_format(fmt, ##args); \
| ^~~~
>> fs/nfsd/nfs2acl.c:177:10: error: no member named 'access' in 'struct nfsd3_accessargs'
177 | argp->access);
| ~~~~ ^
include/linux/sunrpc/debug.h:25:28: note: expanded from macro 'dprintk'
25 | dfprintk(FACILITY, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:42:26: note: expanded from macro 'dfprintk'
42 | __sunrpc_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:34:57: note: expanded from macro '__sunrpc_printk'
34 | # define __sunrpc_printk(fmt, ...) trace_printk(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/kernel.h:276:26: note: expanded from macro 'trace_printk'
276 | do_trace_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/kernel.h:290:50: note: expanded from macro 'do_trace_printk'
290 | __trace_bprintk(_THIS_IP_, trace_printk_fmt, ##args); \
| ^~~~
>> fs/nfsd/nfs2acl.c:177:10: error: no member named 'access' in 'struct nfsd3_accessargs'
177 | argp->access);
| ~~~~ ^
include/linux/sunrpc/debug.h:25:28: note: expanded from macro 'dprintk'
25 | dfprintk(FACILITY, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:42:26: note: expanded from macro 'dfprintk'
42 | __sunrpc_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/sunrpc/debug.h:34:57: note: expanded from macro '__sunrpc_printk'
34 | # define __sunrpc_printk(fmt, ...) trace_printk(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/linux/kernel.h:276:26: note: expanded from macro 'trace_printk'
276 | do_trace_printk(fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/kernel.h:292:36: note: expanded from macro 'do_trace_printk'
292 | __trace_printk(_THIS_IP_, fmt, ##args); \
| ^~~~
>> fs/nfsd/nfs2acl.c:180:8: error: no member named 'access' in 'struct nfsd3_accessres'
180 | resp->access = argp->access;
| ~~~~ ^
fs/nfsd/nfs2acl.c:180:23: error: no member named 'access' in 'struct nfsd3_accessargs'
180 | resp->access = argp->access;
| ~~~~ ^
>> fs/nfsd/nfs2acl.c:181:8: error: no member named 'status' in 'struct nfsd3_accessres'
181 | resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL);
| ~~~~ ^
fs/nfsd/nfs2acl.c:181:54: error: no member named 'access' in 'struct nfsd3_accessres'
181 | resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL);
| ~~~~ ^
fs/nfsd/nfs2acl.c:182:12: error: no member named 'status' in 'struct nfsd3_accessres'
182 | if (resp->status != nfs_ok)
| ~~~~ ^
fs/nfsd/nfs2acl.c:184:8: error: no member named 'status' in 'struct nfsd3_accessres'
184 | resp->status = fh_getattr(&resp->fh, &resp->stat);
| ~~~~ ^
>> fs/nfsd/nfs2acl.c:184:46: error: no member named 'stat' in 'struct nfsd3_accessres'
184 | resp->status = fh_getattr(&resp->fh, &resp->stat);
| ~~~~ ^
fs/nfsd/nfs2acl.c:234:40: error: no member named 'access' in 'struct nfsd3_accessargs'
234 | if (xdr_stream_decode_u32(xdr, &args->access) < 0)
| ~~~~ ^
fs/nfsd/nfs2acl.c:280:37: error: no member named 'status' in 'struct nfsd3_accessres'
280 | if (!svcxdr_encode_stat(xdr, resp->status))
| ~~~~ ^
fs/nfsd/nfs2acl.c:282:16: error: no member named 'status' in 'struct nfsd3_accessres'
282 | switch (resp->status) {
| ~~~~ ^
fs/nfsd/nfs2acl.c:284:58: error: no member named 'stat' in 'struct nfsd3_accessres'
284 | if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat))
| ~~~~ ^
fs/nfsd/nfs2acl.c:286:40: error: no member named 'access' in 'struct nfsd3_accessres'
286 | if (xdr_stream_encode_u32(xdr, resp->access) < 0)
| ~~~~ ^
15 errors generated.
vim +177 fs/nfsd/nfs2acl.c
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 166
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 167 /*
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 168 * Check file access
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 169 */
a6beb73272b4c0 Christoph Hellwig 2017-05-08 170 static __be32 nfsacld_proc_access(struct svc_rqst *rqstp)
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 171 {
a6beb73272b4c0 Christoph Hellwig 2017-05-08 172 struct nfsd3_accessargs *argp = rqstp->rq_argp;
a6beb73272b4c0 Christoph Hellwig 2017-05-08 173 struct nfsd3_accessres *resp = rqstp->rq_resp;
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 174
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 175 dprintk("nfsd: ACCESS(2acl) %s 0x%x\n",
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 176 SVCFH_fmt(&argp->fh),
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 @177 argp->access);
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 178
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 179 fh_copy(&resp->fh, &argp->fh);
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 @180 resp->access = argp->access;
f0af22101d9072 Chuck Lever 2020-10-01 @181 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL);
f0af22101d9072 Chuck Lever 2020-10-01 182 if (resp->status != nfs_ok)
f0af22101d9072 Chuck Lever 2020-10-01 183 goto out;
f0af22101d9072 Chuck Lever 2020-10-01 @184 resp->status = fh_getattr(&resp->fh, &resp->stat);
f0af22101d9072 Chuck Lever 2020-10-01 185 out:
cc028a10a48c3c Chuck Lever 2020-10-02 186 return rpc_success;
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 187 }
a257cdd0e21796 Andreas Gruenbacher 2005-06-22 188
:::::: The code at line 177 was first introduced by commit
:::::: a257cdd0e2179630d3201c32ba14d7fcb3c3a055 [PATCH] NFSD: Add server support for NFSv3 ACLs.
:::::: TO: Andreas Gruenbacher <agruen@suse.de>
:::::: 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:[~2025-11-27 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 23:01 [cel:nfsv3-xdrgen 60/75] fs/nfsd/nfs2acl.c:177:10: error: no member named 'access' in 'struct nfsd3_accessargs' 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