OrangePi_CM5/drivers/crypto/cavium/nitrox
Tong Tiangen 615f2f5e7e crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
[ Upstream commit 57c126661f50b884d3812e7db6e00f2e778eccfb ]

Function nitrox_register_interrupts leaves variable 'nr_vecs' unchecked, which
would be use as kcalloc parameter later.

Fixes: 5155e118dd ("crypto: cavium/nitrox - use pci_alloc_irq_vectors() while enabling MSI-X.")
Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:06 +02:00
..
Kconfig
…
Makefile
…
nitrox_aead.c
…
nitrox_algs.c
…
nitrox_common.h
…
nitrox_csr.h
…
nitrox_debugfs.c
…
nitrox_debugfs.h
…
nitrox_dev.h
…
nitrox_hal.c
…
nitrox_hal.h
…
nitrox_isr.c
…
nitrox_isr.h
…
nitrox_lib.c
…
nitrox_main.c
…
nitrox_mbx.c
…
nitrox_mbx.h
…
nitrox_req.h
…
nitrox_reqmgr.c
…
nitrox_skcipher.c
…
nitrox_sriov.c
…