linux-stable/drivers
Eli Cohen 37e07e7058 vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
Restore ndev->cur_num_vqs to the original value in case change_num_qps()
fails.

Fixes: 52893733f2 ("vdpa/mlx5: Add multiqueue support")
Reviewed-by: Si-Wei Liu<si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20220105114646.577224-10-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-14 18:50:54 -05:00
..
accessibility
acpi
amba
android binder: fix async_free_space accounting for empty parcels 2021-12-21 11:07:34 +01:00
ata libata: if T_LENGTH is zero, dma direction should be DMA_NONE 2021-12-17 09:32:13 +09:00
atm
auxdisplay
base PM: sleep: Fix error handling in dpm_prepare() 2021-12-17 18:36:08 +01:00
bcma
block virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
bluetooth virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
bus Some new drivers changes for the Allwinner SoCs, fixing the shutdown 2021-12-17 16:04:54 +01:00
cdrom
char hwrng: virtio - unregister device before reset 2022-01-14 18:50:52 -05:00
clk
clocksource clocksource/drivers/arm_arch_timer: Force inlining of erratum_set_next_event_generic() 2021-12-10 17:47:00 +01:00
comedi
connector
counter
cpufreq
cpuidle
crypto virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
cxl
dax
dca
devfreq
dio
dma dmaengine: st_fdma: fix MODULE_ALIAS 2021-12-13 13:18:48 +05:30
dma-buf
edac
eisa
extcon
firewire
firmware firmware: qemu_fw_cfg: remove sysfs entries explicitly 2022-01-14 18:50:52 -05:00
fpga
fsi
gnss
gpio virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
gpu virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
greybus
hid HID: potential dereference of null pointer 2021-12-20 11:26:14 +01:00
hsi
hv
hwmon hwmon: (lm90) Do not report 'busy' status bit as alarm 2021-12-12 16:22:53 -08:00
hwspinlock
hwtracing
i2c virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
i3c
idle
iio
infiniband RDMA/hns: Replace kfree() with kvfree() 2021-12-14 20:13:29 -04:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2022-01-01 10:21:49 -08:00
interconnect
iommu virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
ipack
irqchip
isdn mISDN: change function names to avoid conflicts 2021-12-28 12:12:04 +00:00
leds
macintosh
mailbox
mcb
md block-5.16-2021-12-17 2021-12-17 11:46:07 -08:00
media
memory
memstick
message
mfd
misc
mmc mmc: mmci: stm32: clear DLYB_CR after sending tuning command 2021-12-21 13:03:51 +01:00
most
mtd Revert "mtd_blkdevs: don't scan partitions for plain mtdblock" 2021-12-10 11:52:34 -07:00
mux
net virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
nfc NFC: st21nfca: Fix memory leak in device probe and remove 2021-12-28 12:40:20 +00:00
ntb
nubus
nvdimm virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
nvme
nvmem
of
opp
parisc
parport
pci - Clear the PCI_MSIX_FLAGS_MASKALL bit too on the error path so that it 2021-12-19 12:28:46 -08:00
pcmcia
perf
phy
pinctrl pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines 2021-12-16 04:14:56 +01:00
platform platform-drivers-x86 for v5.16-4 2021-12-24 08:58:23 -08:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
rtc
s390
sbus
scsi virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
sh
siox
slimbus
soc soc/tegra: Fixes for v5.16-rc6 2021-12-16 15:02:26 +01:00
soundwire
spi spi: Fix for v5.16 2021-12-20 10:23:19 -08:00
spmi
ssb
staging
target
tc
tee ARM: SoC fixes for 5.16, part 4 2021-12-23 09:22:34 -08:00
thermal
thunderbolt
tty Merge branch 'xsa' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip 2021-12-20 07:42:21 -08:00
uio
usb usb: typec: ucsi: Only check the contract if there is a connection 2021-12-21 16:30:53 +01:00
vdpa vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps() 2022-01-14 18:50:54 -05:00
vfio
vhost vdpa: Allow to configure max data virtqueues 2022-01-14 18:50:53 -05:00
video
virt nitro_enclaves: Use get_user_pages_unlocked() call to handle mmap assert 2021-12-21 11:08:19 +01:00
virtio vdpa: Allow to configure max data virtqueues 2022-01-14 18:50:53 -05:00
visorbus
vlynq
vme
w1
watchdog
xen xen/console: harden hvc_xen against event channel storms 2021-12-16 08:24:08 +01:00
zorro
Kconfig
Makefile