diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2013-12-10 10:38:33 -0600 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-20 20:06:19 +0800 |
commit | 6f0be9b26621cefa6709b1d8bc15388eaf763126 (patch) | |
tree | 3feeb920543165bde282f3a8d869367331994534 /drivers/crypto/ccp/ccp-crypto.h | |
parent | e37b94ebffdd93d121e5308eb93e2e55a0893fbb (diff) |
crypto: ccp - Fix sparse warnings in ccp-crypto-sha.c
The sha initialization data generated the following sparse warnings:
sparse: incorrect type in initializer (different base types)
expected unsigned int
got restricted __be32 [usertype] <noident>
Change the initialization data type from u32 to __be32.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto.h b/drivers/crypto/ccp/ccp-crypto.h index 45f17c394e4a..13ea6ea4b45d 100644 --- a/drivers/crypto/ccp/ccp-crypto.h +++ b/drivers/crypto/ccp/ccp-crypto.h @@ -39,7 +39,7 @@ struct ccp_crypto_ablkcipher_alg { struct ccp_crypto_ahash_alg { struct list_head entry; - const u32 *init; + const __be32 *init; u32 type; u32 mode; |