linux-stable/drivers/crypto/cavium/nitrox
Christophe JAILLET 320bdbd816 crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
When a list is completely iterated with 'list_for_each_entry(x, ...)', x is
not NULL at the end.

While at it, remove a useless initialization of the ndev variable. It
is overridden by 'list_for_each_entry'.

Fixes: f2663872f0 ("crypto: cavium - Register the CNN55XX supported crypto algorithms.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-06-04 22:06:26 +10:00
..
Kconfig crypto: skcipher - rename the crypto_blkcipher module and kconfig option 2019-11-01 13:42:47 +08:00
Makefile crypto: cavium/nitrox - Added AEAD cipher support 2018-12-23 11:52:44 +08:00
nitrox_aead.c crypto: remove CRYPTO_TFM_RES_BAD_KEY_LEN 2020-01-09 11:30:53 +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 - Add mailbox message to get mcode info in VF 2019-10-05 01:06:18 +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: cavium/nitrox - Enabled Mailbox support 2018-12-13 18:24:39 +08: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-04 22:06:26 +10:00
nitrox_mbx.c crypto: cavium/nitrox - Add mailbox message to get mcode info in VF 2019-10-05 01:06:18 +10: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 - Fix cbc ciphers self test failures 2019-10-05 01:06:13 +10:00
nitrox_reqmgr.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
nitrox_skcipher.c crypto: remove CRYPTO_TFM_RES_BAD_KEY_LEN 2020-01-09 11:30:53 +08:00
nitrox_sriov.c crypto: cavium/nitrox - Configure asymmetric queue manager Hardware unit 2019-08-15 21:52:14 +10:00