From: kernel test robot <lkp@intel.com>
To: Jeff Layton <jlayton@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:17: error: 'ret' undeclared; did you mean 'net'?
Date: Sat, 21 Feb 2026 01:57:07 +0100 [thread overview]
Message-ID: <202602210140.a9ftAf64-lkp@intel.com> (raw)
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-rhel-9.4 (https://download.01.org/0day-ci/archive/20260221/202602210140.a9ftAf64-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260221/202602210140.a9ftAf64-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/202602210140.a9ftAf64-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/nfsd/export.c: In function 'nfsd_nl_svc_export_get_reqs_dumpit':
>> fs/nfsd/export.c:385:17: error: 'ret' undeclared (first use in this function); did you mean 'net'?
385 | ret = -ENODEV;
| ^~~
| net
fs/nfsd/export.c:385:17: note: each undeclared identifier is reported only once for each function it appears in
>> fs/nfsd/export.c:386:17: error: label 'out_unlock' used but not defined
386 | goto out_unlock;
| ^~~~
vim +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
next reply other threads:[~2026-02-21 0:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-21 0:57 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-21 0:00 [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:17: error: 'ret' undeclared; did you mean 'net'? kernel test robot
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=202602210140.a9ftAf64-lkp@intel.com \
--to=lkp@intel.com \
--cc=jlayton@kernel.org \
--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.