tree: http://git.linaro.org/people/jens.wiklander/linux-tee optee_ffa_v5 head: 1556d10d3bf79a95ea971b845a22d93395b95083 commit: d3d8fea9b4b740e6168701116eaf90f4722c1eb7 [4/5] optee: isolate smc abi config: arm64-randconfig-r023-20210831 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu git remote add jens.wiklander-linux-tee http://git.linaro.org/people/jens.wiklander/linux-tee git fetch --no-tags jens.wiklander-linux-tee optee_ffa_v5 git checkout d3d8fea9b4b740e6168701116eaf90f4722c1eb7 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for function 'optee_disable_shm_cache' [-Wmissing-prototypes] void optee_disable_shm_cache(struct optee *optee) ^ drivers/tee/optee/smc_abi.c:323:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void optee_disable_shm_cache(struct optee *optee) ^ static >> drivers/tee/optee/smc_abi.c:334:6: warning: no previous prototype for function 'optee_disable_unmapped_shm_cache' [-Wmissing-prototypes] void optee_disable_unmapped_shm_cache(struct optee *optee) ^ drivers/tee/optee/smc_abi.c:334:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void optee_disable_unmapped_shm_cache(struct optee *optee) ^ static 2 warnings generated. vim +/optee_disable_shm_cache +323 drivers/tee/optee/smc_abi.c 317 318 /** 319 * optee_disable_shm_cache() - Disables caching of mapped shared memory 320 * allocations in OP-TEE 321 * @optee: main service struct 322 */ > 323 void optee_disable_shm_cache(struct optee *optee) 324 { 325 return __optee_disable_shm_cache(optee, true); 326 } 327 328 /** 329 * optee_disable_unmapped_shm_cache() - Disables caching of shared memory 330 * allocations in OP-TEE which are not 331 * currently mapped 332 * @optee: main service struct 333 */ > 334 void optee_disable_unmapped_shm_cache(struct optee *optee) 335 { 336 return __optee_disable_shm_cache(optee, false); 337 } 338 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org