mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
crypto: atmel-tdes - Constify value to write to hw
atmel_tdes_write_n() should not modify its value argument. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
37f96694cf
commit
7b49fabfc3
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ static inline void atmel_tdes_write(struct atmel_tdes_dev *dd,
|
|||
}
|
||||
|
||||
static void atmel_tdes_write_n(struct atmel_tdes_dev *dd, u32 offset,
|
||||
u32 *value, int count)
|
||||
const u32 *value, int count)
|
||||
{
|
||||
for (; count--; value++, offset += 4)
|
||||
atmel_tdes_write(dd, offset, *value);
|
||||
|
|
Loading…
Reference in a new issue