crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 4 Jan 2021 06:15:45 +0000 (17:15 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:25 +0000 (17:10 +1100)
commit81064c96d88180ad6995d52419e94a78968308a2
tree47985933872f40b4347c3c624cad6597b11c52b8
parent622aae879c1d9449562e0cae353691a2a1f9eec0
crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter

This patch changes the cast in stm32_cryp_check_ctr_counter from
u32 to __be32 to match the prototype of stm32_cryp_hw_write_iv
correctly.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-cryp.c