diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-10-10 18:47:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 07:34:45 +0100 |
commit | c98e233062cd9d0e2f10e445a671f0799daaef67 (patch) | |
tree | 5e401558022de87d9a628d1fcf7813421b886315 /drivers/crypto/ccp/ccp-dev.c | |
parent | crypto: hisilicon - Fix doc warnings in sgl.c and qm.c (diff) | |
download | linux-c98e233062cd9d0e2f10e445a671f0799daaef67.tar.xz linux-c98e233062cd9d0e2f10e445a671f0799daaef67.zip |
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: 9744fec95f06 ("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>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.c')
0 files changed, 0 insertions, 0 deletions