[hch-xfs:xfs-crc 52/62] fs/xfs/xfs_rtcsum.c:67:undefined reference to `crc64_nvme'

kernel test robot <[email protected]> Wed, 29 Jul 2026 04:14:12 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   git://git.infradead.org/users/hch/xfs xfs-crc
head:   18cbb272aa91aeb23eb1284cb2ea278e932a5272
commit: 1319f7ba751b3fc086d1e1e9b81aca6ceb2b4bfc [52/62] xfs: core RT data checksum support
config: x86_64-randconfig-016-20260728 (https://download.01.org/0day-ci/archive/20260729/[email protected]/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/20260729/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   ld: fs/xfs/xfs_rtcsum.o: in function `xfs_csum_gen':
>> fs/xfs/xfs_rtcsum.c:67:(.text+0x4d2): undefined reference to `crc64_nvme'
>> ld: fs/xfs/xfs_rtcsum.c:67:(.text+0xca2): undefined reference to `crc64_nvme'


vim +67 fs/xfs/xfs_rtcsum.c

    56	
    57	static __always_inline void
    58	xfs_csum_gen(
    59		struct xfs_mount	*mp,
    60		void			*data,
    61		unsigned int		len,
    62		union xfs_csum		*csum)
    63	{
    64		if (mp->m_sb.sb_rtcsum == XFS_CSUM_TYPE_CRC32C)
    65			csum->crc32c = crc32c(csum->crc32c, data, len);
    66		else
  > 67			csum->crc64 = crc64_nvme(csum->crc64, data, len);
    68	}
    69	

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