[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)")

Re: [PATCH] crypto: testmgr - Fix format argument warning

2020-10-10 Thread Eric Biggers
On Sat, Oct 10, 2020 at 10:16:37AM +0800, Ye Bin wrote: > Fix follow warning: > [crypto/testmgr.c:2317]: (warning) %d in format string (no. 5) requires > 'int' but the argument type is 'unsigned int'. > > Reported-by: Hulk Robot > Signed-off-by: Ye Bin > --- > crypto/testmgr.c | 2 +- > 1 file