[asahilinux:bits/050-nvme 9/15] m68k-linux-ld: apple.c:undefined reference to `devm_apple_rtkit_init'

From: kernel test robot
Date: Wed Mar 02 2022 - 18:55:08 EST


tree: https://github.com/AsahiLinux/linux bits/050-nvme
head: fa98fe78deae80c3ca00451876f72fd38b2b3ee9
commit: 27dce760587c8c88aef9a2ef877a92df348075a6 [9/15] WIP: nvme-apple: add initial Apple SoC NVMe driver
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220303/202203030728.ft88aFTm-lkp@xxxxxxxxx/config)
compiler: m68k-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/AsahiLinux/linux/commit/27dce760587c8c88aef9a2ef877a92df348075a6
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/050-nvme
git checkout 27dce760587c8c88aef9a2ef877a92df348075a6
# 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=m68k 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 >>):

m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_sart_dma_destroy':
apple.c:(.text+0x51e): undefined reference to `apple_sart_remove_allowed_region'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_sart_dma_setup':
apple.c:(.text+0x5c2): undefined reference to `apple_sart_add_allowed_region'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_probe':
apple.c:(.text+0x1332): undefined reference to `apple_sart_get'
>> m68k-linux-ld: apple.c:(.text+0x152e): undefined reference to `devm_apple_rtkit_init'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_disable':
apple.c:(.text+0x17a4): undefined reference to `apple_rtkit_is_crashed'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_shutdown':
apple.c:(.text+0x1a1e): undefined reference to `apple_rtkit_is_running'
>> m68k-linux-ld: apple.c:(.text+0x1a30): undefined reference to `apple_rtkit_shutdown'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_remove':
apple.c:(.text+0x1ad6): undefined reference to `apple_rtkit_is_running'
m68k-linux-ld: apple.c:(.text+0x1ae6): undefined reference to `apple_rtkit_shutdown'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_reset_work':
apple.c:(.text+0x1b4e): undefined reference to `apple_rtkit_is_crashed'
>> m68k-linux-ld: apple.c:(.text+0x1b94): undefined reference to `apple_rtkit_is_running'
m68k-linux-ld: apple.c:(.text+0x1bec): undefined reference to `apple_rtkit_shutdown'
>> m68k-linux-ld: apple.c:(.text+0x1c00): undefined reference to `apple_rtkit_reinit'
>> m68k-linux-ld: apple.c:(.text+0x1c3c): undefined reference to `apple_rtkit_boot'
m68k-linux-ld: drivers/nvme/host/apple.o: in function `apple_nvme_timeout':
apple.c:(.text+0x2280): undefined reference to `apple_rtkit_is_crashed'
`.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o

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