From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3994358096647925517==" MIME-Version: 1.0 From: kbuild test robot 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 Message-ID: <202003102018.SeT1h6fS%lkp@intel.com> In-Reply-To: <1583324716-23633-5-git-send-email-schalla@marvell.com> List-Id: --===============3994358096647925517== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-202003= 10] [if your patch is applied to the wrong git tree, please drop us a note to h= elp 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/37406= 982] 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=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot 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 unsign= ed long long [usertype] @@ got nsigned long long [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:881:45: sparse: exp= ected 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 unsign= ed short [usertype] @@ got resunsigned short [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:885:45: sparse: exp= ected 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: spars= e: Using plain integer as NULL pointer -- >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [assigned] [usertype] opcode @@ got short [assigned] [usertyp= e] opcode @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: ex= pected unsigned short [assigned] [usertype] opcode drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:365:29: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [assigned] [usertype] param1 @@ got short [assigned] [usertyp= e] param1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: ex= pected unsigned short [assigned] [usertype] param1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:366:29: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [assigned] [usertype] param2 @@ got short [assigned] [usertyp= e] param2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: ex= pected unsigned short [assigned] [usertype] param2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:367:29: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [assigned] [usertype] dlen @@ got short [assigned] [usertype]= dlen @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: ex= pected unsigned short [assigned] [usertype] dlen drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:368:29: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [assigned] [usertype] u64 @@ got g long [assigned] [userty= pe] u64 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: ex= pected unsigned long long [assigned] [usertype] u64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:371:24: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:439:19: sparse: spars= e: cast to restricted __be64 >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] @@ got long [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: ex= pected unsigned long long [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:209:33: sparse: go= t restricted __be64 >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: ex= pected unsigned short [usertype] len0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: ex= pected unsigned short [usertype] len1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: ex= pected unsigned short [usertype] len2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len3 @@ got resunsigned short [usertype] len3 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: ex= pected unsigned short [usertype] len3 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: ex= pected unsigned long long [usertype] ptr0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: ex= pected unsigned long long [usertype] ptr1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: ex= pected unsigned long long [usertype] ptr2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr3 @@ got nsigned long long [usertype] ptr3 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: ex= pected unsigned long long [usertype] ptr3 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: ex= pected unsigned short [usertype] len2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: ex= pected unsigned long long [usertype] ptr2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: ex= pected unsigned short [usertype] len1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: ex= pected unsigned long long [usertype] ptr1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: ex= pected unsigned short [usertype] len0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: ex= pected unsigned long long [usertype] ptr0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: ex= pected unsigned short [usertype] len0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:127:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: ex= pected unsigned short [usertype] len1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:128:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: ex= pected unsigned short [usertype] len2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:129:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len3 @@ got resunsigned short [usertype] len3 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: ex= pected unsigned short [usertype] len3 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:130:34: sparse: go= t restricted __be16 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: ex= pected unsigned long long [usertype] ptr0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:131:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: ex= pected unsigned long long [usertype] ptr1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:132:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: ex= pected unsigned long long [usertype] ptr2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:133:30: sparse: go= t restricted __be64 [usertype] >> drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr3 @@ got nsigned long long [usertype] ptr3 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: ex= pected unsigned long long [usertype] ptr3 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:134:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len2 @@ got resunsigned short [usertype] len2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: ex= pected unsigned short [usertype] len2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:141:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr2 @@ got nsigned long long [usertype] ptr2 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: ex= pected unsigned long long [usertype] ptr2 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:142:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len1 @@ got resunsigned short [usertype] len1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: ex= pected unsigned short [usertype] len1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:145:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr1 @@ got nsigned long long [usertype] ptr1 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: ex= pected unsigned long long [usertype] ptr1 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:146:30: sparse: go= t restricted __be64 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned short [usertype] len0 @@ got resunsigned short [usertype] len0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: ex= pected unsigned short [usertype] len0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:149:34: sparse: go= t restricted __be16 [usertype] drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: spars= e: incorrect type in assignment (different base types) @@ expected unsig= ned long long [usertype] ptr0 @@ got nsigned long long [usertype] ptr0 @@ drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: ex= pected unsigned long long [usertype] ptr0 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c:150:30: sparse: go= t 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 unsigne= d long long [usertype] @@ got nsigned long long [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: expe= cted 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 unsigne= d long long [usertype] @@ got nsigned long long [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:281:21: sparse: expe= cted 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 unsigne= d int [usertype] @@ got restrunsigned int [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: expe= cted 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 unsigne= d int [usertype] @@ got restrunsigned int [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:696:24: sparse: expe= cted 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 unsigne= d long long [usertype] @@ got nsigned long long [usertype] @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:705:24: sparse: expe= cted 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 unsign= ed long long [usertype] flags @@ got nsigned long long [usertype] flags = @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1012:31: sparse: exp= ected 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 unsign= ed long long [usertype] flags @@ got nsigned long long [usertype] flags = @@ drivers/crypto/marvell/octeontx/otx_cptvf_algs.c:1032:34: sparse: exp= ected 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 *uc= ode, 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 =3D dma_alloc_cohe= rent(dev, ucode->size + 614cde32c669af SrujanaChalla 2020-03-04 867 OTX_CPT_UCODE_ALIG= NMENT, 614cde32c669af SrujanaChalla 2020-03-04 868 &ucode->dma, GFP_K= ERNEL); 614cde32c669af SrujanaChalla 2020-03-04 869 if (!ucode->va) { 614cde32c669af SrujanaChalla 2020-03-04 870 dev_err(dev, "Unable to all= ocate 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 =3D PTR_ALIG= N(ucode->va, OTX_CPT_UCODE_ALIGNMENT); 614cde32c669af SrujanaChalla 2020-03-04 874 ucode->align_dma =3D PTR_ALI= GN(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 =3D 0; i < (ucode->si= ze / 8); i++) 614cde32c669af SrujanaChalla 2020-03-04 @881 ((u64 *)ucode->align_va)[i]= =3D 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 =3D 0; i < (ucode->si= ze / 2); i++) 614cde32c669af SrujanaChalla 2020-03-04 @885 ((u16 *)ucode->align_va)[i]= =3D 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 suppor= t for OCTEON TX CPT engine :::::: TO: SrujanaChalla :::::: CC: 0day robot --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3994358096647925517==--