linux/drivers/crypto/inside-secure
Colin Ian King 413de08ca4 crypto: inside-secure - Fix sizeof() mismatch
[ Upstream commit c98e233062 ]

An incorrect sizeof() is being used, sizeof(priv->ring[i].rdr_req) is
not correct, it should be sizeof(*priv->ring[i].rdr_req). Note that
since the size of ** is the same size as * this is not causing any
issues.

Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)")
Fixes: 9744fec95f ("crypto: inside-secure - remove request list to improve performance")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:25:51 +01:00
..
Makefile
safexcel_cipher.c crypto: inside-secure - do not rely on the hardware last bit for result descriptors 2019-07-26 09:14:04 +02:00
safexcel_hash.c crypto: inside-secure - fix queued len computation 2020-01-27 14:50:53 +01:00
safexcel_ring.c crypto: inside-secure - switch to SPDX identifiers 2018-07-20 13:51:22 +08:00
safexcel.c crypto: inside-secure - Fix sizeof() mismatch 2020-12-30 11:25:51 +01:00
safexcel.h crypto: inside-secure - switch to SPDX identifiers 2018-07-20 13:51:22 +08:00