linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2021-08-31 12:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-31 12:38 UTC (permalink / raw)
  To: Jens Wiklander; +Cc: kbuild-all, linux-kernel, Sumit Garg

[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 77946 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-31 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 12:38 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).