diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2015-12-17 17:48:33 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-23 11:19:48 +0100 |
commit | c0b28d8c32a42c6a54b5ddee06ce078d99f93e51 (patch) | |
tree | f7d2c5bef2b7cefaecac00bbb443ba61dbcb1c5f /drivers/crypto/atmel-aes.c | |
parent | crypto: atmel-aes - add new version (diff) | |
download | linux-c0b28d8c32a42c6a54b5ddee06ce078d99f93e51.tar.xz linux-c0b28d8c32a42c6a54b5ddee06ce078d99f93e51.zip |
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/atmel-aes.c')
-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); |