From: kernel test robot <[email protected]>
To: Satya Tangirala <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>,
[email protected], [email protected],
[email protected], Eric Biggers <[email protected]>
Subject: [ammarfaizi2-block:google/android/kernel/common/android11-kiwi-5.4 2937/9999] drivers/mmc/core/crypto.c:14:6: warning: no previous prototype for function 'mmc_crypto_setup_queue'
Date: Sun, 16 Jan 2022 21:56:05 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
Hi Satya,
FYI, the error/warning still remains.
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android11-kiwi-5.4
head: 7d1d5848183bd1d9086d0572f9af431d3ded407f
commit: 555cf12eb672727979bc7b7840c7503f3de27220 [2937/9999] ANDROID: mmc: MMC crypto API
config: x86_64-randconfig-a003 (https://download.01.org/0day-ci/archive/20220116/[email protected]/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c63a3175c2947e8c1a2d3bbe16a8586600705c54)
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
# https://github.com/ammarfaizi2/linux-block/commit/555cf12eb672727979bc7b7840c7503f3de27220
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android11-kiwi-5.4
git checkout 555cf12eb672727979bc7b7840c7503f3de27220
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mmc/core/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All warnings (new ones prefixed by >>):
>> drivers/mmc/core/crypto.c:14:6: warning: no previous prototype for function 'mmc_crypto_setup_queue' [-Wmissing-prototypes]
void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q)
^
drivers/mmc/core/crypto.c:14:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q)
^
static
>> drivers/mmc/core/crypto.c:21:6: warning: no previous prototype for function 'mmc_crypto_free_host' [-Wmissing-prototypes]
void mmc_crypto_free_host(struct mmc_host *host)
^
drivers/mmc/core/crypto.c:21:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void mmc_crypto_free_host(struct mmc_host *host)
^
static
>> drivers/mmc/core/crypto.c:26:6: warning: no previous prototype for function 'mmc_crypto_prepare_req' [-Wmissing-prototypes]
void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
^
drivers/mmc/core/crypto.c:26:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
^
static
3 warnings generated.
vim +/mmc_crypto_setup_queue +14 drivers/mmc/core/crypto.c
13
> 14 void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q)
15 {
16 if (host->caps2 & MMC_CAP2_CRYPTO)
17 q->ksm = host->ksm;
18 }
19 EXPORT_SYMBOL_GPL(mmc_crypto_setup_queue);
20
> 21 void mmc_crypto_free_host(struct mmc_host *host)
22 {
23 keyslot_manager_destroy(host->ksm);
24 }
25
> 26 void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
--
GWML mailing list
[email protected]
https://gwml.gnuweeb.org/listinfo/gwml
reply other threads:[~2022-01-16 13:57 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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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