linux-brain/drivers/crypto/cavium/nitrox
Tong Tiangen b205574dc6 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:53:22 +02:00
..
Kconfig crypto: des - split off DES library from generic DES cipher driver 2019-08-22 14:57:33 +10:00
Makefile crypto: cavium/nitrox - Added AEAD cipher support 2018-12-23 11:52:44 +08:00
nitrox_aead.c crypto: cavium/nitrox - Added rfc4106(gcm(aes)) cipher support 2019-04-08 14:36:16 +08:00
nitrox_algs.c crypto: cavium/nitrox - Added AEAD cipher support 2018-12-23 11:52:44 +08:00
nitrox_common.h crypto: cavium/nitrox - Added AEAD cipher support 2018-12-23 11:52:44 +08:00
nitrox_csr.h crypto: cavium/nitrox - Configure asymmetric queue manager Hardware unit 2019-08-15 21:52:14 +10:00
nitrox_debugfs.c crypto: cavium/nitrox - Add support for loading asymmetric crypto firmware 2019-07-26 22:08:05 +10:00
nitrox_debugfs.h crypto: cavium/nitrox - Use the correct style for SPDX License Identifier 2019-06-13 14:31:41 +08:00
nitrox_dev.h crypto: cavium/nitrox - Allocate asymmetric crypto command queues 2019-08-15 21:52:13 +10:00
nitrox_hal.c crypto: cavium/nitrox - Configure asymmetric queue manager Hardware unit 2019-08-15 21:52:14 +10:00
nitrox_hal.h crypto: cavium/nitrox - Configure asymmetric queue manager Hardware unit 2019-08-15 21:52:14 +10:00
nitrox_isr.c crypto: nitrox - fix unchecked variable in nitrox_register_interrupts 2021-07-14 16:53:22 +02:00
nitrox_isr.h crypto: cavium/nitrox - Enable interrups for PF in SR-IOV mode. 2018-11-29 16:27:04 +08:00
nitrox_lib.c crypto: cavium/nitrox - Allocate asymmetric crypto command queues 2019-08-15 21:52:13 +10:00
nitrox_main.c crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated 2020-06-17 16:40:30 +02:00
nitrox_mbx.c crypto: cavium/nitrox - Enabled Mailbox support 2018-12-13 18:24:39 +08:00
nitrox_mbx.h crypto: cavium/nitrox - Use the correct style for SPDX License Identifier 2019-06-13 14:31:41 +08:00
nitrox_req.h crypto: cavium/nitrox - Allocate asymmetric crypto command queues 2019-08-15 21:52:13 +10:00
nitrox_reqmgr.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
nitrox_skcipher.c crypto: nitrox/des - switch to new verification routines 2019-08-22 14:39:39 +10:00
nitrox_sriov.c crypto: cavium/nitrox - Configure asymmetric queue manager Hardware unit 2019-08-15 21:52:14 +10:00