linux-stable/drivers
Shannon Nelson 1e76f42779 pds_core: fix mutex double unlock in error path
Fix a double unlock in an error handling path by unlocking as soon as
the error is seen and removing unlocks in the error cleanup path.

Link: https://lore.kernel.org/kernel-janitors/209a09f6-5ec6-40c7-a5ec-6260d8f54d25@kili.mountain/
Fixes: 523847df1b ("pds_core: add devcmd device interfaces")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-05 10:02:47 +01:00
..
accel hwmon updates for v6.4 2023-04-25 17:43:44 -07:00
accessibility
acpi Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
amba
android
ata SCSI misc on 20230426 2023-04-26 15:39:25 -07:00
atm
auxdisplay
base Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
bcma
block for-6.4/block-2023-04-21 2023-04-26 12:52:58 -07:00
bluetooth Bluetooth: btusb: Add WCN6855 devcoredump support 2023-04-23 22:07:27 -07:00
bus asm-generic updates for 6.4 2023-04-25 12:22:11 -07:00
cdrom
char This update includes the following changes: 2023-04-26 08:32:52 -07:00
clk
clocksource
comedi
connector
counter
cpufreq Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
cpuidle
crypto This update includes the following changes: 2023-04-26 08:32:52 -07:00
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac ARM: SoC drivers for v6.4 2023-04-25 12:02:16 -07:00
eisa
extcon
firewire
firmware arm64 updates for 6.4 2023-04-25 12:39:01 -07:00
fpga ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
fsi
gnss
gpio gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
gpu flexible-array transformations for 6.4-rc1 2023-04-26 08:25:57 -07:00
greybus
hid
hsi
hte
hv - Add the necessary glue so that the kernel can run as a confidential 2023-04-25 10:48:08 -07:00
hwmon Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
hwspinlock
hwtracing
i2c This update includes the following changes: 2023-04-26 08:32:52 -07:00
i3c
idle
iio ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
infiniband SCSI misc on 20230426 2023-04-26 15:39:25 -07:00
input Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox remoteproc updates for v6.4 2023-04-25 17:38:25 -07:00
mcb
md - Split dm-bufio's rw_semaphore and rbtree. Offers improvements to 2023-04-26 13:05:21 -07:00
media gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
memory ARM: SoC drivers for v6.4 2023-04-25 12:02:16 -07:00
memstick
message
mfd Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
misc drm next for 6.4-rc1 2023-04-25 16:12:15 -07:00
mmc
most
mtd Core MTD changes: 2023-04-25 17:23:42 -07:00
mux
net pds_core: fix mutex double unlock in error path 2023-05-05 10:02:47 +01:00
nfc drivers: nfc: nfcsim: remove return value check of dev_dir 2023-04-24 18:12:42 -07:00
ntb
nubus
nvdimm
nvme for-6.4/block-2023-04-21 2023-04-26 12:52:58 -07:00
nvmem
of
opp
parisc
parport
pci - Remove an over-zealous sanity check of the array of MSI-X vectors to 2023-04-23 08:15:33 -07:00
pcmcia
peci
perf arm64 updates for 6.4 2023-04-25 12:39:01 -07:00
phy
pinctrl gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
platform Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
remoteproc remoteproc updates for v6.4 2023-04-25 17:38:25 -07:00
reset
rpmsg
rtc
s390 Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
sbus
scsi Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
sh
siox
slimbus
soc gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
soundwire
spi
spmi
ssb
staging Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
target
tc
tee This update includes the following changes: 2023-04-26 08:32:52 -07:00
thermal
thunderbolt
tty Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
ufs SCSI misc on 20230426 2023-04-26 15:39:25 -07:00
uio
usb Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
vdpa
vfio
vhost Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
video platform-drivers-x86 for v6.4-1 2023-04-25 16:59:48 -07:00
virt
virtio
vlynq
w1
watchdog
xen SCSI misc on 20230426 2023-04-26 15:39:25 -07:00
zorro
Kconfig
Makefile