Re: [PATCH] crypto: inside-secure: Fix sizeof() mismatch

2020-10-29 Thread Herbert Xu
On Sat, Oct 10, 2020 at 05:47:36PM +0100, Colin King wrote: > From: Colin Ian King > > 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 >

Re: [PATCH] crypto: inside-secure: Fix sizeof() mismatch

2020-10-11 Thread Antoine Tenart
Hello, Quoting Colin King (2020-10-10 18:47:36) > From: Colin Ian King > > 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. >

[PATCH] crypto: inside-secure: Fix sizeof() mismatch

2020-10-10 Thread Colin King
From: Colin Ian King 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)")