mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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>
This commit is contained in:
parent
973e209d74
commit
c0b28d8c32
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user