From: kernel test robot <lkp@intel.com>
To: Jens Wiklander <jens.wiklander@linaro.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Sumit Garg <sumit.garg@linaro.org>
Subject: [jens.wiklander-linux-tee:optee_ffa_v5 4/5] drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for function 'optee_disable_shm_cache'
Date: Tue, 31 Aug 2021 23:09:56 +0800 [thread overview]
Message-ID: <202108312349.5bgObtpT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2906 bytes --]
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 <lkp@intel.com>
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36025 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jens.wiklander-linux-tee:optee_ffa_v5 4/5] drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for function 'optee_disable_shm_cache'
Date: Tue, 31 Aug 2021 23:09:56 +0800 [thread overview]
Message-ID: <202108312349.5bgObtpT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2974 bytes --]
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 <lkp@intel.com>
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36025 bytes --]
next reply other threads:[~2021-08-31 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 15:09 kernel test robot [this message]
2021-08-31 15:09 ` [jens.wiklander-linux-tee:optee_ffa_v5 4/5] drivers/tee/optee/smc_abi.c:323:6: warning: no previous prototype for function 'optee_disable_shm_cache' kernel test robot
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=202108312349.5bgObtpT-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=llvm@lists.linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.