linux-stable/drivers
Jack Wang 908bfb4f5f mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
[ Upstream commit 6b207ce8a9 ]

dma_map_sg return 0 on error, fix the error check, and return -EIO
to caller.

Fixes: dbc049eee7 ("mailbox: Add driver for Broadcom FlexRM ring manager")
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-24 09:58:02 +02:00
..
accessibility
acpi ACPI: PCC: Fix Tx acknowledge in the PCC address space handler 2022-10-24 09:57:03 +02:00
amba
android
ata
atm
auxdisplay
base arm64: topology: move store_cpu_topology() to shared code 2022-10-24 09:56:45 +02:00
bcma
block
bluetooth Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure 2022-10-24 09:57:11 +02:00
bus
cdrom
char hwrng: core - let sleep be interrupted when unregistering hwrng 2022-10-24 09:56:51 +02:00
clk clk: ast2600: BCLK comes from EPLL 2022-10-24 09:58:01 +02:00
clocksource clocksource/drivers/arm_arch_timer: Fix CNTPCT_LO and CNTVCT_LO value 2022-10-24 09:56:48 +02:00
comedi
connector
counter
cpufreq cpufreq: amd-pstate: Fix initial highest_perf value 2022-10-24 09:57:02 +02:00
cpuidle
crypto Revert "crypto: qat - reduce size of mapped region" 2022-10-15 08:01:43 +02:00
cxl
dax
dca
devfreq
dio
dma dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup() 2022-10-24 09:58:00 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware firmware: google: Test spinlock on panic path to avoid lockups 2022-10-24 09:57:57 +02:00
fpga fpga: prevent integer overflow in dfl_feature_ioctl_set_irq() 2022-10-24 09:57:51 +02:00
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-24 09:57:58 +02:00
gnss
gpio gpio: rockchip: request GPIO mux to pinctrl when setting direction 2022-10-24 09:56:51 +02:00
gpu virtio-gpu: fix shift wrapping bug in virtio_gpu_fence_event_create() 2022-10-24 09:57:22 +02:00
greybus
hid HID: multitouch: Add memory barriers 2022-10-24 09:56:43 +02:00
hsi HSI: omap_ssi_port: Fix dma_map_sg error check 2022-10-24 09:57:49 +02:00
hte
hv
hwmon hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller 2022-10-24 09:57:15 +02:00
hwspinlock
hwtracing
i2c i2c: mlxbf: support lock mechanism 2022-10-24 09:57:13 +02:00
i3c
idle
iio iio: magnetometer: yas530: Change data type of hard_offsets to signed 2022-10-24 09:57:47 +02:00
infiniband RDMA/rxe: Fix resize_finish() in rxe_queue.c 2022-10-24 09:57:58 +02:00
input Input: xpad - fix wireless 360 controller breaking after suspend 2022-10-15 08:01:45 +02:00
interconnect
iommu
ipack
irqchip
isdn mISDN: fix use-after-free bugs in l1oip timer handlers 2022-10-24 09:57:14 +02:00
leds leds: lm3601x: Don't use mutex after it was destroyed 2022-10-24 09:57:05 +02:00
macintosh
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-24 09:58:02 +02:00
mcb
md md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk() 2022-10-24 09:57:55 +02:00
media media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init 2022-10-24 09:57:50 +02:00
memory memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-10-24 09:57:24 +02:00
memstick
message
mfd mfd: da9061: Fix Failed to set Two-Wire Bus Mode. 2022-10-24 09:57:59 +02:00
misc misc: ocxl: fix possible refcount leak in afu_ioctl() 2022-10-24 09:57:51 +02:00
mmc mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe() 2022-10-24 09:57:22 +02:00
most
mtd mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct() 2022-10-24 09:57:55 +02:00
mux
net net: mvpp2: fix mvpp2 debugfs leak 2022-10-24 09:57:16 +02:00
nfc
ntb
nubus
nvdimm
nvme nvme-multipath: fix possible hang in live ns resize with ANA access 2022-10-24 09:56:46 +02:00
nvmem nvmem: core: Fix memleak in nvmem_register() 2022-10-24 09:56:46 +02:00
of
opp
parisc
parport
pci PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge 2022-10-24 09:56:49 +02:00
pcmcia
peci
perf RISC-V: Re-enable counter access from userspace 2022-10-24 09:56:45 +02:00
phy phy: qualcomm: call clk_disable_unprepare in the error handling 2022-10-24 09:57:56 +02:00
pinctrl pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback 2022-10-24 09:56:51 +02:00
platform platform/chrome: cros_ec_typec: Correct alt mode index 2022-10-24 09:57:19 +02:00
pnp
power
powercap powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain 2022-10-24 09:56:50 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: qcom_rpm: Fix circular deferral regression 2022-10-24 09:56:44 +02:00
remoteproc remoteproc: Harden rproc_handle_vdev() against integer overflow 2022-10-24 09:57:53 +02:00
reset
rpmsg rpmsg: char: Avoid double destroy of default endpoint 2022-10-24 09:56:58 +02:00
rtc
s390
sbus
scsi scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername() 2022-10-24 09:57:58 +02:00
sh
siox
slimbus slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register 2022-10-24 09:57:57 +02:00
soc soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA 2022-10-24 09:57:45 +02:00
soundwire
spi spi: Ensure that sg_table won't be used after being freed 2022-10-24 09:57:15 +02:00
spmi spmi: pmic-arb: correct duplicate APID to PPID mapping logic 2022-10-24 09:58:00 +02:00
ssb
staging staging: vt6655: fix some erroneous memory clean-up loops 2022-10-24 09:57:57 +02:00
target
tc
tee
thermal thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register() 2022-10-24 09:57:01 +02:00
thunderbolt thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-10-24 09:56:58 +02:00
tty serial: 8250: Fix restoring termios speed after suspend 2022-10-24 09:57:57 +02:00
ufs
uio
usb usb: mtu3: fix failed runtime suspend in host only mode 2022-10-24 09:58:00 +02:00
vdpa
vfio
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-24 09:57:14 +02:00
video fbdev: smscufx: Fix use-after-free in ufx_ops_open() 2022-10-24 09:56:51 +02:00
virt
virtio
vlynq
vme
w1
watchdog
xen xen/gntdev: Accommodate VMA splitting 2022-10-24 09:56:48 +02:00
zorro
Kconfig
Makefile