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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:53:55 +0000 (10:53 +0100)
commitc40b1bc851e0816f45520f31b44e8461de13fc5c
tree95fd9ba2083b4ed22a80c084003071bbb90a1a59
parent93033bbbdc25c2168261846a84b5ba2b2475c995
crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter

[ Upstream commit 81064c96d88180ad6995d52419e94a78968308a2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/stm32/stm32-cryp.c