Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 413de08c authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

crypto: inside-secure - Fix sizeof() mismatch



[ Upstream commit c98e233062cd9d0e2f10e445a671f0799daaef67 ]

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: 9744fec9 ("crypto: inside-secure - remove request list to improve performance")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarAntoine Tenart <atenart@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent eb9bc711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment