* [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:3: error: use of undeclared identifier 'ret'
@ 2026-02-21 0:24 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-02-21 0:24 UTC (permalink / raw)
To: Jeff Layton; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git exportd-netlink
head: abe0e15ab9e913e4fb8b26466f8a2a4089ceba44
commit: abe0e15ab9e913e4fb8b26466f8a2a4089ceba44 [14/14] nfsd: implement nfsd_nl_svc_export_get_reqs_dumpit()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260221/202602210150.NdJXgFWN-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/20260221/202602210150.NdJXgFWN-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/202602210150.NdJXgFWN-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/nfsd/export.c:385:3: error: use of undeclared identifier 'ret'
385 | ret = -ENODEV;
| ^
>> fs/nfsd/export.c:386:8: error: use of undeclared label 'out_unlock'
386 | goto out_unlock;
| ^
2 errors generated.
vim +/ret +385 fs/nfsd/export.c
378
379 int nfsd_nl_svc_export_get_reqs_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
380 {
381 struct nfsd_net *nn;
382
383 nn = net_generic(sock_net(skb->sk), nfsd_net_id);
384 if (!nn->nfsd_serv) {
> 385 ret = -ENODEV;
> 386 goto out_unlock;
387 }
388
389 return 0;
390 }
391
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:3: error: use of undeclared identifier 'ret'
@ 2026-02-21 2:27 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-02-21 2:27 UTC (permalink / raw)
To: Jeff Layton; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git exportd-netlink
head: abe0e15ab9e913e4fb8b26466f8a2a4089ceba44
commit: abe0e15ab9e913e4fb8b26466f8a2a4089ceba44 [14/14] nfsd: implement nfsd_nl_svc_export_get_reqs_dumpit()
config: mips-jazz_defconfig (https://download.01.org/0day-ci/archive/20260221/202602211015.TmaKT3bd-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260221/202602211015.TmaKT3bd-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/202602211015.TmaKT3bd-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/nfsd/export.c:385:3: error: use of undeclared identifier 'ret'
385 | ret = -ENODEV;
| ^
>> fs/nfsd/export.c:386:8: error: use of undeclared label 'out_unlock'
386 | goto out_unlock;
| ^
2 errors generated.
vim +/ret +385 fs/nfsd/export.c
378
379 int nfsd_nl_svc_export_get_reqs_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
380 {
381 struct nfsd_net *nn;
382
383 nn = net_generic(sock_net(skb->sk), nfsd_net_id);
384 if (!nn->nfsd_serv) {
> 385 ret = -ENODEV;
> 386 goto out_unlock;
387 }
388
389 return 0;
390 }
391
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-21 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21 2:27 [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:3: error: use of undeclared identifier 'ret' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-02-21 0:24 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