pci-xtalk-bridge.c:undefined reference to `crc16'

From: kernel test robot
Date: Mon Aug 30 2021 - 10:45:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7d2a07b769330c34b4deabeed939325c77a7ec2f
commit: 302fdadeafe4be539f247abf25f61822e4a5a577 ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
date: 7 months ago
config: mips-buildonly-randconfig-r005-20210830 (attached as .config)
compiler: mips64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=302fdadeafe4be539f247abf25f61822e4a5a577
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 302fdadeafe4be539f247abf25f61822e4a5a577
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

mips64-linux-ld: arch/mips/pci/pci-xtalk-bridge.o: in function `bridge_get_partnum':
>> pci-xtalk-bridge.c:(.text+0x7e0): undefined reference to `crc16'
>> mips64-linux-ld: pci-xtalk-bridge.c:(.text+0x804): undefined reference to `crc16'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip