[ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10 5870/5871] arm-linux-gnueabi-ld: trusty-ipc.c:undefined reference to `trusty_dma_buf_get_shared_mem_id'

From: kernel test robot
Date: Tue Feb 01 2022 - 04:25:33 EST


tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10
head: b60d55f33484d855a546f7cfc59a28a5771e8bee
commit: 629a4d3318cc1234675f62b69fba8791592e8a83 [5870/5871] ANDROID: trusty: Support setting trusty_shared_mem_id_t
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220201/202202011726.KY34w4dH-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-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/629a4d3318cc1234675f62b69fba8791592e8a83
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-trusty-5.10
git checkout 629a4d3318cc1234675f62b69fba8791592e8a83
# 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=arm 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 >>):

arm-linux-gnueabi-ld: drivers/trusty/trusty-ipc.o: in function `dn_share_fd':
trusty-ipc.c:(.text+0x2a5c): undefined reference to `trusty_dma_buf_get_ffa_tag'
>> arm-linux-gnueabi-ld: trusty-ipc.c:(.text+0x2a70): undefined reference to `trusty_dma_buf_get_shared_mem_id'

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