[mellanox:queue-next 1921/2000] counters.c:undefined reference to `mlx5_ib_fs_remove_op_fc'

From: kernel test robot
Date: Sun Sep 05 2021 - 22:59:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git queue-next
head: 8f2d4e802ad98ec8ef56866251d4d96965de7817
commit: c1725761c9f4785548d54d944dd6b39ec9e0002a [1921/2000] RDMA/mlx5: Add add_op_stat() and remove_op_stat() support
config: arm64-randconfig-r014-20210905 (attached as .config)
compiler: aarch64-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/mellanox/linux.git/commit/?id=c1725761c9f4785548d54d944dd6b39ec9e0002a
git remote add mellanox https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git
git fetch --no-tags mellanox queue-next
git checkout c1725761c9f4785548d54d944dd6b39ec9e0002a
# 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=arm64 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 >>):

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/infiniband/hw/mlx5/counters.o: in function `mlx5_ib_remove_op_stat':
>> counters.c:(.text+0x45c): undefined reference to `mlx5_ib_fs_remove_op_fc'
aarch64-linux-ld: drivers/infiniband/hw/mlx5/counters.o: in function `mlx5_ib_dealloc_counters':
counters.c:(.text+0x564): undefined reference to `mlx5_ib_fs_remove_op_fc'
aarch64-linux-ld: drivers/infiniband/hw/mlx5/counters.o: in function `mlx5_ib_add_op_stat':
>> counters.c:(.text+0xa18): undefined reference to `mlx5_ib_fs_add_op_fc'

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

Attachment: .config.gz
Description: application/gzip