All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android-5.4 3/8] drivers/scsi/ufs/ufshcd-crypto.c:250:26: sparse: sparse: symbol 'ufshcd_blk_crypto_mode_num_for_alg_dusize' was not declared. Should it be
@ 2020-08-08  2:47 kernel test robot
  2020-08-08  2:47 ` [RFC PATCH android-common] BACKPORT: FROMLIST: ufshcd_blk_crypto_mode_num_for_alg_dusize() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-08  2:47 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://android.googlesource.com/kernel/common android-5.4
head:   d26817a9d0070a6f881ced376d042e43e4317055
commit: b7b3af961465d23a733bb44d4a49bb78d4d5b08f [3/8] BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
config: i386-randconfig-s001-20200807 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout b7b3af961465d23a733bb44d4a49bb78d4d5b08f
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/scsi/ufs/ufshcd-crypto.c:250:26: sparse: sparse: symbol 'ufshcd_blk_crypto_mode_num_for_alg_dusize' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
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: 32030 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH android-common] BACKPORT: FROMLIST: ufshcd_blk_crypto_mode_num_for_alg_dusize() can be static
  2020-08-08  2:47 [android-common:android-5.4 3/8] drivers/scsi/ufs/ufshcd-crypto.c:250:26: sparse: sparse: symbol 'ufshcd_blk_crypto_mode_num_for_alg_dusize' was not declared. Should it be kernel test robot
@ 2020-08-08  2:47 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-08  2:47 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: b7b3af961465 ("BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series")
Signed-off-by: kernel test robot <lkp@intel.com>
---
 ufshcd-crypto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufshcd-crypto.c b/drivers/scsi/ufs/ufshcd-crypto.c
index 1cfd9a327049e..0fe2b6f4ace2e 100644
--- a/drivers/scsi/ufs/ufshcd-crypto.c
+++ b/drivers/scsi/ufs/ufshcd-crypto.c
@@ -247,7 +247,7 @@ static const struct keyslot_mgmt_ll_ops ufshcd_ksm_ops = {
 	.keyslot_evict		= ufshcd_crypto_keyslot_evict,
 };
 
-enum blk_crypto_mode_num ufshcd_blk_crypto_mode_num_for_alg_dusize(
+static enum blk_crypto_mode_num ufshcd_blk_crypto_mode_num_for_alg_dusize(
 					enum ufs_crypto_alg ufs_crypto_alg,
 					enum ufs_crypto_key_size key_size)
 {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-08  2:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-08  2:47 [android-common:android-5.4 3/8] drivers/scsi/ufs/ufshcd-crypto.c:250:26: sparse: sparse: symbol 'ufshcd_blk_crypto_mode_num_for_alg_dusize' was not declared. Should it be kernel test robot
2020-08-08  2:47 ` [RFC PATCH android-common] BACKPORT: FROMLIST: ufshcd_blk_crypto_mode_num_for_alg_dusize() can be static kernel test robot

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.