[ammarfaizi2-block:axboe/linux-block/m1-test 248/382] apple.c:undefined reference to `apple_rtkit_is_crashed'

From: kernel test robot
Date: Wed Feb 16 2022 - 01:12:40 EST


tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1-test
head: 5adfbb595194191bad98c47447ddbee7d3b60b8f
commit: 4af74948141263ed097ad48f8845871d16410b08 [248/382] WIP: nvme-apple: add initial Apple SoC NVMe driver
config: arm64-randconfig-r016-20220216 (https://download.01.org/0day-ci/archive/20220216/202202161415.O3r14xmk-lkp@xxxxxxxxx/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://github.com/ammarfaizi2/linux-block/commit/4af74948141263ed097ad48f8845871d16410b08
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1-test
git checkout 4af74948141263ed097ad48f8845871d16410b08
# save the config file 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/nvme/host/apple.o: in function `apple_nvme_disable.constprop.0':
>> apple.c:(.text+0x7c0): undefined reference to `apple_rtkit_is_crashed'
aarch64-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_remove':
>> apple.c:(.text+0xa8c): undefined reference to `apple_rtkit_is_running'
>> aarch64-linux-ld: apple.c:(.text+0xab8): undefined reference to `apple_rtkit_shutdown'
aarch64-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_shutdown':
apple.c:(.text+0xb1c): undefined reference to `apple_rtkit_is_running'
aarch64-linux-ld: apple.c:(.text+0xb44): undefined reference to `apple_rtkit_shutdown'

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