linux-stable/drivers/crypto/inside-secure
Colin Ian King c98e233062 crypto: inside-secure - Fix sizeof() mismatch
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>
2020-10-30 17:34:45 +11:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel.c crypto: inside-secure - Fix sizeof() mismatch 2020-10-30 17:34:45 +11:00
safexcel.h crypto: inside-secure - Reuse code in safexcel_hmac_alg_setkey 2020-09-25 17:48:13 +10:00
safexcel_cipher.c crypto: inside-secure - Reuse code in safexcel_hmac_alg_setkey 2020-09-25 17:48:13 +10:00
safexcel_hash.c crypto: inside-secure - Reuse code in safexcel_hmac_alg_setkey 2020-09-25 17:48:13 +10:00
safexcel_ring.c crypto: inside-secure - Prevent missing of processing errors 2020-09-18 17:20:10 +10:00