aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/crypto/crc32c_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/crypto/crc32c_glue.c')
-rw-r--r--arch/sparc/crypto/crc32c_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/crypto/crc32c_glue.c b/arch/sparc/crypto/crc32c_glue.c
index 4e9323229e71..82efb7f81c28 100644
--- a/arch/sparc/crypto/crc32c_glue.c
+++ b/arch/sparc/crypto/crc32c_glue.c
@@ -35,7 +35,7 @@ static int crc32c_sparc64_setkey(struct crypto_shash *hash, const u8 *key,
if (keylen != sizeof(u32))
return -EINVAL;
- *(__le32 *)mctx = le32_to_cpup((__le32 *)key);
+ *mctx = le32_to_cpup((__le32 *)key);
return 0;
}