From: kernel test robot <lkp@intel.com>
To: Jens Wiklander <jens.wiklander@linaro.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Sumit Garg <sumit.garg@linaro.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'
Date: Tue, 31 Aug 2021 20:38:14 +0800 [thread overview]
Message-ID: <202108312008.2O5xydJO-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-08-31 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108312008.2O5xydJO-lkp@intel.com \
--to=lkp@intel.com \
--cc=jens.wiklander@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sumit.garg@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox