From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 4/4] crypto: marvell: enable OcteonTX cpt options for build
Date: Tue, 10 Mar 2020 20:08:51 +0800 [thread overview]
Message-ID: <202003102018.SeT1h6fS%lkp@intel.com> (raw)
In-Reply-To: <1583324716-23633-5-git-send-email-schalla@marvell.com>
[-- Attachment #1: Type: text/plain, Size: 25991 bytes --]
Hi Srujana,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on cryptodev/master]
[also build test WARNING on crypto/master linus/master v5.6-rc5 next-20200310]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Srujana-Challa/Add-Support-for-Marvell-OcteonTX-Cryptographic/20200305-041058
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-174-g094d5a94-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:306:22: sparse: sparse: cast to restricted __be32
>> drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:881:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got nsigned long long [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:881:45: sparse: expected unsigned long long [usertype]
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:881:45: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:885:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got resunsigned short [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:885:45: sparse: expected unsigned short [usertype]
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:885:45: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:905:23: sparse: sparse: cast to restricted __be32
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:1465:75: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [assigned] [usertype] opcode @@ got short [assigned] [usertype] opcode @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: expected unsigned short [assigned] [usertype] opcode
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [assigned] [usertype] param1 @@ got short [assigned] [usertype] param1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: expected unsigned short [assigned] [usertype] param1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [assigned] [usertype] param2 @@ got short [assigned] [usertype] param2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: expected unsigned short [assigned] [usertype] param2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [assigned] [usertype] dlen @@ got short [assigned] [usertype] dlen @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: expected unsigned short [assigned] [usertype] dlen
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [assigned] [usertype] u64 @@ got g long [assigned] [usertype] u64 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: expected unsigned long long [assigned] [usertype] u64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: sparse: cast to restricted __be64
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got long [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: expected unsigned long long [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: got restricted __be64
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: expected unsigned short [usertype] len0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: expected unsigned short [usertype] len1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: expected unsigned short [usertype] len2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len3 @@ got resunsigned short [usertype] len3 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: expected unsigned short [usertype] len3
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: expected unsigned long long [usertype] ptr0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: expected unsigned long long [usertype] ptr1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: expected unsigned long long [usertype] ptr2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr3 @@ got nsigned long long [usertype] ptr3 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: expected unsigned long long [usertype] ptr3
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: expected unsigned short [usertype] len2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: expected unsigned long long [usertype] ptr2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: expected unsigned short [usertype] len1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: expected unsigned long long [usertype] ptr1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: expected unsigned short [usertype] len0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: expected unsigned long long [usertype] ptr0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: expected unsigned short [usertype] len0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: expected unsigned short [usertype] len1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: expected unsigned short [usertype] len2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len3 @@ got resunsigned short [usertype] len3 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: expected unsigned short [usertype] len3
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: got restricted __be16 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: expected unsigned long long [usertype] ptr0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: expected unsigned long long [usertype] ptr1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: expected unsigned long long [usertype] ptr2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr3 @@ got nsigned long long [usertype] ptr3 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: expected unsigned long long [usertype] ptr3
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: expected unsigned short [usertype] len2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: expected unsigned long long [usertype] ptr2
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: expected unsigned short [usertype] len1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: expected unsigned long long [usertype] ptr1
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: expected unsigned short [usertype] len0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: got restricted __be16 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: expected unsigned long long [usertype] ptr0
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: got restricted __be64 [usertype]
--
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:114:6: sparse: sparse: symbol 'otx_cpt_aead_callback' was not declared. Should it be static?
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:174:6: sparse: sparse: symbol 'otx_cpt_skcipher_callback' was not declared. Should it be static?
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1405:17: sparse: sparse: symbol 'otx_cpt_aeads' was not declared. Should it be static?
>> drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got nsigned long long [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: expected unsigned long long [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got nsigned long long [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: expected unsigned long long [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: expected unsigned int [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: got restricted __be32 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: expected unsigned int [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: got restricted __be32 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:705:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got nsigned long long [usertype] @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:705:24: sparse: expected unsigned long long [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:705:24: sparse: got restricted __be64 [usertype]
>> drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1012:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] flags @@ got nsigned long long [usertype] flags @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1012:31: sparse: expected unsigned long long [usertype] flags
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1012:31: sparse: got restricted __be64 [usertype]
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1032:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] flags @@ got nsigned long long [usertype] flags @@
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1032:34: sparse: expected unsigned long long [usertype] flags
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1032:34: sparse: got restricted __be64 [usertype]
vim +881 drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
614cde32c669af SrujanaChalla 2020-03-04 858
614cde32c669af SrujanaChalla 2020-03-04 859 static int copy_ucode_to_dma_mem(struct device *dev,
614cde32c669af SrujanaChalla 2020-03-04 860 struct otx_cpt_ucode *ucode,
614cde32c669af SrujanaChalla 2020-03-04 861 const u8 *ucode_data)
614cde32c669af SrujanaChalla 2020-03-04 862 {
614cde32c669af SrujanaChalla 2020-03-04 863 u32 i;
614cde32c669af SrujanaChalla 2020-03-04 864
614cde32c669af SrujanaChalla 2020-03-04 865 /* Allocate DMAable space */
614cde32c669af SrujanaChalla 2020-03-04 866 ucode->va = dma_alloc_coherent(dev, ucode->size +
614cde32c669af SrujanaChalla 2020-03-04 867 OTX_CPT_UCODE_ALIGNMENT,
614cde32c669af SrujanaChalla 2020-03-04 868 &ucode->dma, GFP_KERNEL);
614cde32c669af SrujanaChalla 2020-03-04 869 if (!ucode->va) {
614cde32c669af SrujanaChalla 2020-03-04 870 dev_err(dev, "Unable to allocate space for microcode");
614cde32c669af SrujanaChalla 2020-03-04 871 return -ENOMEM;
614cde32c669af SrujanaChalla 2020-03-04 872 }
614cde32c669af SrujanaChalla 2020-03-04 873 ucode->align_va = PTR_ALIGN(ucode->va, OTX_CPT_UCODE_ALIGNMENT);
614cde32c669af SrujanaChalla 2020-03-04 874 ucode->align_dma = PTR_ALIGN(ucode->dma, OTX_CPT_UCODE_ALIGNMENT);
614cde32c669af SrujanaChalla 2020-03-04 875
614cde32c669af SrujanaChalla 2020-03-04 876 memcpy((void *) ucode->align_va, (void *) ucode_data +
614cde32c669af SrujanaChalla 2020-03-04 877 sizeof(struct otx_cpt_ucode_hdr), ucode->size);
614cde32c669af SrujanaChalla 2020-03-04 878
614cde32c669af SrujanaChalla 2020-03-04 879 /* Byte swap 64-bit */
614cde32c669af SrujanaChalla 2020-03-04 880 for (i = 0; i < (ucode->size / 8); i++)
614cde32c669af SrujanaChalla 2020-03-04 @881 ((u64 *)ucode->align_va)[i] =
614cde32c669af SrujanaChalla 2020-03-04 882 cpu_to_be64(((u64 *)ucode->align_va)[i]);
614cde32c669af SrujanaChalla 2020-03-04 883 /* Ucode needs 16-bit swap */
614cde32c669af SrujanaChalla 2020-03-04 884 for (i = 0; i < (ucode->size / 2); i++)
614cde32c669af SrujanaChalla 2020-03-04 @885 ((u16 *)ucode->align_va)[i] =
614cde32c669af SrujanaChalla 2020-03-04 886 cpu_to_be16(((u16 *)ucode->align_va)[i]);
614cde32c669af SrujanaChalla 2020-03-04 887 return 0;
614cde32c669af SrujanaChalla 2020-03-04 888 }
614cde32c669af SrujanaChalla 2020-03-04 889
:::::: The code at line 881 was first introduced by commit
:::::: 614cde32c669aff28aefeef2e1f7a982d4e640bc drivers: crypto: add support for OCTEON TX CPT engine
:::::: TO: SrujanaChalla <schalla@marvell.com>
:::::: CC: 0day robot <lkp@intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next prev parent reply other threads:[~2020-03-10 12:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-04 12:25 [PATCH 0/4] Add Support for Marvell OcteonTX Cryptographic Srujana Challa
2020-03-04 12:25 ` [PATCH 1/4] drivers: crypto: create common Kconfig and Makefile for Marvell Srujana Challa
2020-03-04 12:25 ` [PATCH 2/4] drivers: crypto: add support for OCTEON TX CPT engine Srujana Challa
2020-03-04 12:25 ` [PATCH 3/4] drivers: crypto: add the Virtual Function driver for CPT Srujana Challa
2020-03-04 12:25 ` [PATCH 4/4] crypto: marvell: enable OcteonTX cpt options for build Srujana Challa
2020-03-05 5:00 ` kbuild test robot
2020-03-05 5:00 ` [RFC PATCH] crypto: marvell: otx_cpt_aead_callback() can be static kbuild test robot
2020-03-10 12:08 ` kbuild test robot [this message]
2020-03-12 11:43 ` [PATCH 4/4] crypto: marvell: enable OcteonTX cpt options for build Herbert Xu
2020-03-13 6:12 ` [EXT] " Srujana Challa
2020-03-12 11:44 ` [PATCH 0/4] Add Support for Marvell OcteonTX Cryptographic Herbert Xu
2020-03-16 17:18 ` Srujana Challa
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=202003102018.SeT1h6fS%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.