public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
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: [jlayton:exportd-netlink 2/3] fs/nfsd/nfsctl.c:2270:33: error: use of undeclared identifier 'exportd_nl_family'; did you mean 'nfsd_nl_family'?
Date: Sat, 07 Feb 2026 02:24:34 +0100	[thread overview]
Message-ID: <202602070201.brMUyB8k-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git exportd-netlink
head:   aef82be579c01a1995f0e0c98313f23e7e4893a0
commit: c282986480c6eb27e2330e62a435fdba93b42f32 [2/3] nfsd: register new netlink family for exportd
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260207/202602070201.brMUyB8k-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/20260207/202602070201.brMUyB8k-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/202602070201.brMUyB8k-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nfsd/nfsctl.c:2270:33: error: use of undeclared identifier 'exportd_nl_family'; did you mean 'nfsd_nl_family'?
    2270 |         retval = genl_register_family(&exportd_nl_family);
         |                                        ^~~~~~~~~~~~~~~~~
         |                                        nfsd_nl_family
   fs/nfsd/netlink.h:30:27: note: 'nfsd_nl_family' declared here
      30 | extern struct genl_family nfsd_nl_family;
         |                           ^
   fs/nfsd/nfsctl.c:2280:26: error: use of undeclared identifier 'exportd_nl_family'; did you mean 'nfsd_nl_family'?
    2280 |         genl_unregister_family(&exportd_nl_family);
         |                                 ^~~~~~~~~~~~~~~~~
         |                                 nfsd_nl_family
   fs/nfsd/netlink.h:30:27: note: 'nfsd_nl_family' declared here
      30 | extern struct genl_family nfsd_nl_family;
         |                           ^
   fs/nfsd/nfsctl.c:2306:26: error: use of undeclared identifier 'exportd_nl_family'; did you mean 'nfsd_nl_family'?
    2306 |         genl_unregister_family(&exportd_nl_family);
         |                                 ^~~~~~~~~~~~~~~~~
         |                                 nfsd_nl_family
   fs/nfsd/netlink.h:30:27: note: 'nfsd_nl_family' declared here
      30 | extern struct genl_family nfsd_nl_family;
         |                           ^
   3 errors generated.


vim +2270 fs/nfsd/nfsctl.c

  2238	
  2239	static int __init init_nfsd(void)
  2240	{
  2241		int retval;
  2242	
  2243		nfsd_debugfs_init();
  2244	
  2245		retval = nfsd4_init_slabs();
  2246		if (retval)
  2247			return retval;
  2248		retval = nfsd4_init_pnfs();
  2249		if (retval)
  2250			goto out_free_slabs;
  2251		retval = nfsd_drc_slab_create();
  2252		if (retval)
  2253			goto out_free_pnfs;
  2254		nfsd_lockd_init();	/* lockd->nfsd callbacks */
  2255		retval = register_pernet_subsys(&nfsd_net_ops);
  2256		if (retval < 0)
  2257			goto out_free_lockd;
  2258		retval = register_cld_notifier();
  2259		if (retval)
  2260			goto out_free_subsys;
  2261		retval = nfsd4_create_laundry_wq();
  2262		if (retval)
  2263			goto out_free_cld;
  2264		retval = register_filesystem(&nfsd_fs_type);
  2265		if (retval)
  2266			goto out_free_nfsd4;
  2267		retval = genl_register_family(&nfsd_nl_family);
  2268		if (retval)
  2269			goto out_free_filesystem;
> 2270		retval = genl_register_family(&exportd_nl_family);
  2271		if (retval)
  2272			goto out_free_nfsd_nl;
  2273		retval = create_proc_exports_entry();
  2274		if (retval)
  2275			goto out_free_all;
  2276		nfsd_localio_ops_init();
  2277	
  2278		return 0;
  2279	out_free_all:
  2280		genl_unregister_family(&exportd_nl_family);
  2281	out_free_nfsd_nl:
  2282		genl_unregister_family(&nfsd_nl_family);
  2283	out_free_filesystem:
  2284		unregister_filesystem(&nfsd_fs_type);
  2285	out_free_nfsd4:
  2286		nfsd4_destroy_laundry_wq();
  2287	out_free_cld:
  2288		unregister_cld_notifier();
  2289	out_free_subsys:
  2290		unregister_pernet_subsys(&nfsd_net_ops);
  2291	out_free_lockd:
  2292		nfsd_lockd_shutdown();
  2293		nfsd_drc_slab_free();
  2294	out_free_pnfs:
  2295		nfsd4_exit_pnfs();
  2296	out_free_slabs:
  2297		nfsd4_free_slabs();
  2298		nfsd_debugfs_exit();
  2299		return retval;
  2300	}
  2301	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-02-07  1:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-07  1:24 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-02-07  3:18 [jlayton:exportd-netlink 2/3] fs/nfsd/nfsctl.c:2270:33: error: use of undeclared identifier 'exportd_nl_family'; did you mean 'nfsd_nl_family'? 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=202602070201.brMUyB8k-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