All of lore.kernel.org
 help / color / mirror / Atom feed
* [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:17: error: 'ret' undeclared; did you mean 'net'?
@ 2026-02-21  0:00 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-02-21  0:00 UTC (permalink / raw)
  To: Jeff Layton; +Cc: 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: alpha-defconfig (https://download.01.org/0day-ci/archive/20260221/202602210711.sMv9AxlS-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260221/202602210711.sMv9AxlS-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/202602210711.sMv9AxlS-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:17: error: 'ret' undeclared; did you mean 'net'?
@ 2026-02-21  0:57 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-02-21  0:57 UTC (permalink / raw)
  To: Jeff Layton; +Cc: 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-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-21  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21  0:57 [jlayton:exportd-netlink 14/14] fs/nfsd/export.c:385:17: error: 'ret' undeclared; did you mean 'net'? kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-02-21  0:00 kernel test robot

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.