lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202410030044.O2B9RUd2-lkp@intel.com>
Date: Thu, 3 Oct 2024 00:36:58 +0800
From: kernel test robot <lkp@...el.com>
To: Mike Snitzer <snitzer@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Anna Schumaker <anna.schumaker@...cle.com>,
	NeilBrown <neilb@...e.de>, Jeff Layton <jlayton@...nel.org>
Subject: fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e32cde8d2bd7d251a8f9b434143977ddf13dcec6
commit: 56bcd0f07fdbf9770284bedb982236ab881ef909 nfs: implement client support for NFS_LOCALIO_PROGRAM
date:   9 days ago
config: x86_64-randconfig-002-20241002 (https://download.01.org/0day-ci/archive/20241003/202410030044.O2B9RUd2-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241003/202410030044.O2B9RUd2-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410030044.O2B9RUd2-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: fs/nfs/localio.o: in function `nfs_local_iocb_alloc':
   fs/nfs/localio.c:290: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:290: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:290: undefined reference to `nfs_to'
   ld: fs/nfs/localio.o: in function `nfs_local_pgio_release':
   fs/nfs/localio.c:344: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:344: undefined reference to `nfs_to'
   ld: fs/nfs/localio.o:fs/nfs/localio.c:344: more undefined references to `nfs_to' follow
   ld: fs/nfs/localio.o: in function `nfs_local_disable':
   fs/nfs/localio.c:140: undefined reference to `nfs_uuid_invalidate_one_client'
   ld: fs/nfs/localio.o: in function `nfs_local_probe':
>> fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin'
>> ld: fs/nfs/localio.c:212: undefined reference to `nfs_uuid_end'
   ld: fs/nfs/localio.o: in function `nfs_local_open_fh':
   fs/nfs/localio.c:233: undefined reference to `nfs_open_local_fh'
   ld: fs/nfs/localio.o: in function `nfs_local_doio':
   fs/nfs/localio.c:600: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:600: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:625: undefined reference to `nfs_to'
   ld: fs/nfs/localio.c:625: undefined reference to `nfs_to'
   ld: fs/nfs/localio.o: in function `nfs_local_release_commit_data':
   fs/nfs/localio.c:676: undefined reference to `nfs_to'
   ld: fs/nfs/localio.o:fs/nfs/localio.c:676: more undefined references to `nfs_to' follow


vim +209 fs/nfs/localio.c

   189	
   190	/*
   191	 * nfs_local_probe - probe local i/o support for an nfs_server and nfs_client
   192	 * - called after alloc_client and init_client (so cl_rpcclient exists)
   193	 * - this function is idempotent, it can be called for old or new clients
   194	 */
   195	void nfs_local_probe(struct nfs_client *clp)
   196	{
   197		/* Disallow localio if disabled via sysfs or AUTH_SYS isn't used */
   198		if (!localio_enabled ||
   199		    clp->cl_rpcclient->cl_auth->au_flavor != RPC_AUTH_UNIX) {
   200			nfs_local_disable(clp);
   201			return;
   202		}
   203	
   204		if (nfs_client_is_local(clp)) {
   205			/* If already enabled, disable and re-enable */
   206			nfs_local_disable(clp);
   207		}
   208	
 > 209		nfs_uuid_begin(&clp->cl_uuid);
   210		if (nfs_server_uuid_is_local(clp))
   211			nfs_local_enable(clp);
 > 212		nfs_uuid_end(&clp->cl_uuid);
   213	}
   214	EXPORT_SYMBOL_GPL(nfs_local_probe);
   215	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ