aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-03-24 11:02:42 +0000
committerHerbert Xu <[email protected]>2018-03-30 17:33:14 +0000
commita2e5d408a46372b8fba9b1af592edc6fa3fc93a9 (patch)
treefa71fafe6482cfac3ab76b08fa7e5759648fe5aa /lib/bitmap.c
parentcrypto: talitos - don't leak pointers to authenc keys (diff)
downloadkernel-a2e5d408a46372b8fba9b1af592edc6fa3fc93a9.tar.gz
kernel-a2e5d408a46372b8fba9b1af592edc6fa3fc93a9.zip
crypto: brcm - explicitly cast cipher to hash type
In the AES cases enum spu_cipher_type and enum hash_type have the same values, so the assignment is fine. Explicitly cast the enum type conversion. This fixes two warnings when building with clang: drivers/crypto/bcm/cipher.c:821:34: warning: implicit conversion from enumeration type 'enum spu_cipher_type' to different enumeration type 'enum hash_type' [-Wenum-conversion] hash_parms.type = cipher_parms.type; ~ ~~~~~~~~~~~~~^~~~ drivers/crypto/bcm/cipher.c:1412:26: warning: implicit conversion from enumeration type 'enum spu_cipher_type' to different enumeration type 'enum hash_type' [-Wenum-conversion] hash_parms.type = ctx->cipher_type; ~ ~~~~~^~~~~~~~~~~ Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions