Re: [PATCH] crypto: octeontx2 - uninitialized variable in kvf_limits_store()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 27, 2021 at 05:10:27PM +0300, Dan Carpenter wrote:
> If kstrtoint() fails then "lfs_num" is uninitialized and the warning
> doesn't make any sense.  Just delete it.
> 
> Fixes: 8ec8015a3168 ("crypto: octeontx2 - add support to process the crypto request")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
>  drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux