[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210611071659.GA23016@gondor.apana.org.au>
Date: Fri, 11 Jun 2021 15:16:59 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tong Tiangen <tongtiangen@...wei.com>
Cc: "David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] crypto: nitrox - fix unchecked variable in
nitrox_register_interrupts
On Tue, Jun 01, 2021 at 06:01:55PM +0800, Tong Tiangen wrote:
> Function nitrox_register_interrupts leaves variable 'nr_vecs' unchecked, which
> would be use as kcalloc parameter later.
>
> Fixes: 5155e118dda9 ("crypto: cavium/nitrox - use pci_alloc_irq_vectors() while enabling MSI-X.")
> Signed-off-by: Tong Tiangen <tongtiangen@...wei.com>
> ---
> drivers/crypto/cavium/nitrox/nitrox_isr.c | 4 ++++
> 1 file changed, 4 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists