linux-stable/drivers
Christophe JAILLET 7c3261d8bc crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
commit 320bdbd816 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:05:03 +02:00
..
accessibility
acpi ACPI: PM: Avoid using power resources if there are none for D0 2020-06-22 09:05:02 +02:00
amba
android
ata
atm
auxdisplay
base x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation 2020-06-10 21:35:01 +02:00
bcma
block null_blk: return error for invalid zone size 2020-06-07 13:17:56 +02:00
bluetooth
bus
cdrom
char
clk PM: runtime: clk: Fix clk_pm_runtime_get() error path 2020-06-22 09:05:03 +02:00
clocksource
connector
cpufreq cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once 2020-05-20 08:18:40 +02:00
cpuidle
crypto crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated 2020-06-22 09:05:03 +02:00
dax
dca
devfreq
dio
dma dmaengine: owl: Use correct lock in owl_dma_get_pchan() 2020-05-27 17:37:38 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware efi/efivars: Add missing kobject_put() in sysfs entry creation error path 2020-06-22 09:05:01 +02:00
fmc
fpga
fsi
gnss
gpio gpio: exar: Fix bad handling for ida_simple_get error path 2020-06-03 08:19:35 +02:00
gpu make 'user_access_begin()' do 'access_ok()' 2020-06-22 09:04:58 +02:00
hid HID: i2c-hid: add Schneider SCL142ALM to descriptor override 2020-06-07 13:17:53 +02:00
hsi
hv
hwmon hwmon: (da9052) Synchronize access with mfd 2020-05-20 08:18:44 +02:00
hwspinlock
hwtracing
i2c i2c: altera: Fix race between xfer_msg and isr thread 2020-06-07 13:17:56 +02:00
ide
idle
iio iio: vcnl4000: Fix i2c swapped word reading. 2020-06-10 21:35:00 +02:00
infiniband RDMA/uverbs: Make the event_queue fds return POLLERR when disassociated 2020-06-22 09:05:00 +02:00
input Input: synaptics - add a second working PNP_ID for Lenovo T470s 2020-06-22 09:05:00 +02:00
iommu iommu: Fix reference count leak in iommu_group_alloc. 2020-06-03 08:19:41 +02:00
ipack ipack: tpci200: fix error return code in tpci200_register() 2020-05-27 17:37:43 +02:00
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md
media media: fdp1: Fix R-Car M3-N naming in debug message 2020-05-27 17:37:40 +02:00
memory
memstick
message
mfd mfd: intel-lpss: Use devm_ioremap_uc for MMIO 2020-05-10 10:30:11 +02:00
misc mei: release me_cl object reference 2020-05-27 17:37:43 +02:00
mmc mmc: core: Fix recursive locking issue in CQE recovery path 2020-06-03 08:19:42 +02:00
mtd ubi: Fix seq_file usage in detailed_erase_block_info debugfs file 2020-05-27 17:37:30 +02:00
mux
net ath9k_htc: Silence undersized packet warnings 2020-06-22 09:05:00 +02:00
nfc NFC: st21nfca: add missed kfree_skb() in an error path 2020-06-10 21:34:59 +02:00
ntb
nubus
nvdimm libnvdimm: Fix endian conversion issues 2020-06-07 13:17:53 +02:00
nvme
nvmem nvmem: qfprom: remove incorrect write support 2020-06-10 21:35:00 +02:00
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl pinctrl: cherryview: Add missing spinlock usage in chv_gpio_irq_handler 2020-05-20 08:18:41 +02:00
platform platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA 2020-05-27 17:37:35 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio rapidio: fix an error in get_user_pages_fast() error handling 2020-05-27 17:37:43 +02:00
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi scsi: hisi_sas: Check sas_port before using it 2020-06-07 13:17:55 +02:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi spi: bcm-qspi: when tx/rx buffer is NULL set to 0 2020-06-22 09:05:03 +02:00
spmi
ssb
staging staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 2020-06-10 21:35:00 +02:00
target
tc
tee
thermal
thunderbolt thunderbolt: Drop duplicated get_switch_at_route() 2020-05-27 17:37:40 +02:00
tty tty: hvc_console, fix crashes on parallel open/close 2020-06-10 21:35:00 +02:00
uio
usb CDC-ACM: heed quirk also in error handling 2020-06-10 21:35:00 +02:00
uwb
vfio
vhost vhost/vsock: fix packet delivery order to monitoring devices 2020-05-27 17:37:32 +02:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile