diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2015-12-17 19:48:33 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-23 13:19:48 +0300 |
commit | c0b28d8c32a42c6a54b5ddee06ce078d99f93e51 (patch) | |
tree | f7d2c5bef2b7cefaecac00bbb443ba61dbcb1c5f /drivers/crypto | |
parent | 973e209d743e22e9d514cd3378281608845456f6 (diff) | |
download | linux-c0b28d8c32a42c6a54b5ddee06ce078d99f93e51.tar.xz |
crypto: atmel-aes - constify value argument of atmel_aes_write_n()
atmel_aes_write_n() should not modify its value argument.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/atmel-aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 854e2813b2bb..1d3997a45610 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -231,7 +231,7 @@ static void atmel_aes_read_n(struct atmel_aes_dev *dd, u32 offset, } static void atmel_aes_write_n(struct atmel_aes_dev *dd, u32 offset, - u32 *value, int count) + const u32 *value, int count) { for (; count--; value++, offset += 4) atmel_aes_write(dd, offset, *value); |