On Fri, Jun 07, 2024 at 03:30:48PM +0100, Sergey Portnoy wrote: > > diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c > index 8aea416f6480..880d427bdb3f 100644 > --- a/crypto/tcrypt.c > +++ b/crypto/tcrypt.c > @@ -1454,6 +1454,8 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) > int i; > int ret = 0; > > + u8 speed_template[2] = {klen, 0}; Please move this inside the if block in case 600. > switch (m) { > case 0: > if (alg) { > @@ -2613,6 +2615,14 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) > break; > > case 600: > + if (alg) { It should go here. > + test_mb_skcipher_speed(alg, ENCRYPT, sec, NULL, 0, > + speed_template, num_mb); > + test_mb_skcipher_speed(alg, DECRYPT, sec, NULL, 0, > + speed_template, num_mb); > + break; > + } > + Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt