[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108312008.2O5xydJO-lkp@intel.com>
Date: Tue, 31 Aug 2021 20:38:14 +0800
From: kernel test robot <lkp@...el.com>
To: Jens Wiklander <jens.wiklander@...aro.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Sumit Garg <sumit.garg@...aro.org>
Subject: [jens.wiklander-linux-tee:testing/tuxbuild 4/5]
drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for
'optee_disable_shm_cache'
tree: http://git.linaro.org/people/jens.wiklander/linux-tee testing/tuxbuild
head: 97f7a4bceb5084b0cc7c0a761a4c46318ae518c1
commit: 62f2d00c1007aa809de382588d093bfd31248eb7 [4/5] optee: isolate smc abi
config: arm64-allyesconfig (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
git remote add jens.wiklander-linux-tee http://git.linaro.org/people/jens.wiklander/linux-tee
git fetch --no-tags jens.wiklander-linux-tee testing/tuxbuild
git checkout 62f2d00c1007aa809de382588d093bfd31248eb7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for 'optee_disable_shm_cache' [-Wmissing-prototypes]
323 | void optee_disable_shm_cache(struct optee *optee)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/tee/optee/smc_abi.c:334:6: warning: no previous prototype for 'optee_disable_unmapped_shm_cache' [-Wmissing-prototypes]
334 | void optee_disable_unmapped_shm_cache(struct optee *optee)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Download attachment ".config.gz" of type "application/gzip" (77946 bytes)
Powered by blists - more mailing lists