[PATCH 07/11] crypto: caam/qi2 - add DPAA2-CAAM driver

kbuild test robot lkp at intel.com
Mon Sep 10 22:20:04 PDT 2018


Hi Horia,

I love your patch! Perhaps something to improve:

[auto build test WARNING on cryptodev/master]
[also build test WARNING on v4.19-rc3 next-20180910]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Horia-Geant/crypto-caam-add-DPAA2-DPSECI-driver/20180911-055735
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:96:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned long long @@    got restricted unsigned long long @@
   drivers/crypto/caam/regs.h:96:1:    expected unsigned long long
   drivers/crypto/caam/regs.h:96:1:    got restricted __le64 [usertype] <noident>
>> drivers/crypto/caam/regs.h:96:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned long long @@    got restricted unsigned long long @@
   drivers/crypto/caam/regs.h:96:1:    expected unsigned long long
   drivers/crypto/caam/regs.h:96:1:    got restricted __be64 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: too many warnings
--
>> drivers/crypto/caam/caamalg_qi2.c:83:6: sparse: symbol 'dpaa2_caam_iova_to_virt' was not declared. Should it be static?
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __le32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __le32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@    expected unsigned int @@    got restricted __be32unsigned int @@
   drivers/crypto/caam/regs.h:95:1:    expected unsigned int
   drivers/crypto/caam/regs.h:95:1:    got restricted __be32 [usertype] <noident>
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
>> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32
   drivers/crypto/caam/regs.h:92:1: sparse: too many warnings
   drivers/crypto/caam/caamalg_qi2.c:288:13: warning: 'split_key_sh_done' defined but not used [-Wunused-function]
    static void split_key_sh_done(void *cbk_ctx, u32 err)
                ^~~~~~~~~~~~~~~~~

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



More information about the linux-arm-kernel mailing list