summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/des3_ede_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/crypto/des3_ede_glue.c')
-rw-r--r--arch/x86/crypto/des3_ede_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index e88439d3828e..34600f90d8a6 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -73,7 +73,7 @@ static int ecb_crypt(struct skcipher_request *req, const u32 *expkey)
err = skcipher_walk_virt(&walk, req, false);
while ((nbytes = walk.nbytes)) {
- u8 *wsrc = walk.src.virt.addr;
+ const u8 *wsrc = walk.src.virt.addr;
u8 *wdst = walk.dst.virt.addr;
/* Process four block batch */