[cryptodev:master 22/24] lib/crc-t10dif.c:23:1: sparse: symbol 'crc_t10dif_mutex' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   a1b22a5f45fe884147a99e7c381bcc48d9b2acef
commit: b76377543b738a6b58b0a7b0a42dd9e16436fee1 [22/24] crc-t10dif: Pick better transform if one becomes available
reproduce:
        # apt-get install sparse
        git checkout b76377543b738a6b58b0a7b0a42dd9e16436fee1
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> lib/crc-t10dif.c:23:1: sparse: symbol 'crc_t10dif_mutex' was not declared. Should it be static?
>> lib/crc-t10dif.c:93:23: sparse: incorrect type in assignment (different address spaces) @@    expected struct crypto_shash [noderef] <asn:4>*static [addressable] [toplevel] crct10dif_tfm @@    got ressable] [toplevel] crct10dif_tfm @@
   lib/crc-t10dif.c:93:23:    expected struct crypto_shash [noderef] <asn:4>*static [addressable] [toplevel] crct10dif_tfm
   lib/crc-t10dif.c:93:23:    got struct crypto_shash *
>> lib/crc-t10dif.c:104:27: sparse: incorrect type in argument 1 (different address spaces) @@    expected struct crypto_shash *tfm @@    got struct crypto_shash [noderef] <asn:4>*static [addressable] [struct crypto_shash *tfm @@
   lib/crc-t10dif.c:104:27:    expected struct crypto_shash *tfm
   lib/crc-t10dif.c:104:27:    got struct crypto_shash [noderef] <asn:4>*static [addressable] [toplevel] [assigned] crct10dif_tfm

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



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux