lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201809111311.rqCiSh3E%fengguang.wu@intel.com>
Date:   Tue, 11 Sep 2018 13:20:04 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Horia Geantă <horia.geanta@....com>
Cc:     kbuild-all@...org, Herbert Xu <herbert@...dor.apana.org.au>,
        Stuart Yoder <stuyoder@...il.com>,
        Laurentiu Tudor <laurentiu.tudor@....com>,
        Li Yang <leoyang.li@....com>, Roy Pledge <roy.pledge@....com>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will.deacon@....com>,
        "David S . Miller" <davem@...emloft.net>,
        Aymen Sghaier <aymen.sghaier@....com>,
        linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/11] crypto: caam/qi2 - add DPAA2-CAAM driver

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ