linux_dsm_epyc7002/drivers
Alex Dewar 00f7592609 ath11k: Handle errors if peer creation fails
[ Upstream commit c134d1f8c436d96b3f62896c630278e3ec001280 ]

ath11k_peer_create() is called without its return value being checked,
meaning errors will be unhandled. Add missing check and, as the mutex is
unconditionally unlocked on leaving this function, simplify the exit
path.

Addresses-Coverity-ID: 1497531 ("Code maintainability issues")
Fixes: 701e48a43e ("ath11k: add packet log support for QCA6390")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201004100218.311653-1-alex.dewar90@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:06 +01:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base
bcma
block xen: add helpers for caching grant mapping pages 2020-12-09 10:31:37 +01:00
bluetooth Bluetooth: hci_h5: fix memory leak in h5_close 2020-12-30 11:53:05 +01:00
bus
cdrom
char
clk clk: renesas: r9a06g032: Drop __packed for portability 2020-12-07 13:58:49 -08:00
clocksource
connector
counter
cpufreq
cpuidle
crypto crypto: caam - fix printing on xts fallback allocation error path 2020-12-30 11:53:03 +01:00
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware firmware: xilinx: Mark pm_api_features_map with static keyword 2020-12-09 23:00:22 +01:00
fpga
fsi
gnss
gpio gpio: eic-sprd: break loop when getting NULL device resource 2020-12-09 09:41:49 +01:00
gpu drm/panel: simple: Add flags to boe_nv133fhm_n61 2020-12-30 11:53:04 +01:00
greybus
hid HID: i2c-hid: add Vero K147 to descriptor override 2020-12-26 16:02:43 +01:00
hsi
hv
hwmon hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs 2020-12-30 11:52:55 +01:00
hwspinlock
hwtracing coresight: etm4x: Handle TRCVIPCSSCTLR accesses 2020-12-26 16:02:42 +01:00
i2c Revert "i2c: i2c-qcom-geni: Fix DMA transfer race" 2020-12-30 11:52:57 +01:00
i3c
ide
idle
iio iio: adc: at91_adc: add Kconfig dep on the OF symbol and remove of_match_ptr() 2020-12-30 11:52:55 +01:00
infiniband RDMA/mlx5: Fix corruption of reg_pages in mlx5_ib_rereg_user_mr() 2020-12-30 11:53:01 +01:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-12-12 09:41:33 -08:00
interconnect
iommu iommu fix for 5.10 2020-12-09 09:59:14 -08:00
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md md: fix a warning caused by a race between concurrent md_ioctl()s 2020-12-26 16:02:45 +01:00
media media: msi2500: assign SPI bus number dynamically 2020-12-26 16:02:45 +01:00
memory
memstick
message
mfd
misc at24 fixes for v5.10 2020-12-11 23:23:30 +01:00
mmc
most
mtd mtd: rawnand: xway: Do not force a particular software ECC engine 2020-12-11 20:10:02 +01:00
mux
net ath11k: Handle errors if peer creation fails 2020-12-30 11:53:06 +01:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl pinctrl: core: Add missing #ifdef CONFIG_GPIOLIB 2020-12-30 11:53:02 +01:00
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: pcf2127: fix pcf2127_nvmem_read/write() returns 2020-12-30 11:52:57 +01:00
s390
sbus
scsi scsi: aacraid: Improve compat_ioctl handlers 2020-12-30 11:53:02 +01:00
sfi
sh
siox
slimbus
soc soc: qcom: geni: More properly switch to DMA mode 2020-12-30 11:52:57 +01:00
soundwire
spi spi: imx: fix reference leak in two imx operations 2020-12-30 11:53:06 +01:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial_core: Check for port state when tty is in error state 2020-12-26 16:02:43 +01:00
uio
usb usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul 2020-12-26 16:02:40 +01:00
vdpa
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen: don't use page->lru for ZONE_DEVICE memory 2020-12-09 10:31:41 +01:00
zorro
Kconfig
Makefile