linux-stable/drivers
Kunwu Chan 78e8546646 net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
[ Upstream commit 776dac5a66 ]

devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.

Fixes: 05bd97fc55 ("net: dsa: Add Vitesse VSC73xx DSA router driver")
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240111072018.75971-1-chentao@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:53 -08:00
..
accessibility
acpi ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error 2024-01-25 14:52:34 -08:00
amba
android binder: fix race between mmput() and do_exit() 2024-01-25 14:52:46 -08:00
ata
atm atm: solos-pci: Fix potential deadlock on &tx_queue_lock 2023-12-20 15:17:35 +01:00
auxdisplay
base software node: Let args be NULL in software_node_get_reference_args 2024-01-25 14:52:51 -08:00
bcma
block null_blk: don't cap max_hw_sectors to BLK_DEF_MAX_SECTORS 2024-01-25 14:52:40 -08:00
bluetooth Bluetooth: btmtkuart: fix recv_buf() return value 2024-01-25 14:52:40 -08:00
bus bus: ti-sysc: Flush posted write only after srst_udelay 2024-01-05 15:13:35 +01:00
cdrom
char
clk clk: fixed-rate: add devm_clk_hw_register_fixed_rate 2024-01-25 14:52:44 -08:00
clocksource
comedi
connector
counter
cpufreq cpufreq: scmi: process the result of devm_of_clk_add_hw_provider() 2024-01-25 14:52:33 -08:00
cpuidle
crypto virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() 2024-01-25 14:52:46 -08:00
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac EDAC/thunderx: Fix possible out-of-bounds string access 2024-01-25 14:52:32 -08:00
eisa
extcon
firewire firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards 2024-01-15 18:51:22 +01:00
firmware firmware: meson_sm: populate platform devices from sm device tree data 2024-01-25 14:52:36 -08:00
fpga
fsi
gnss
gpio gpio: dwapb: mask/unmask IRQ when disable/enale it 2024-01-05 15:13:35 +01:00
gpu drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init 2024-01-25 14:52:45 -08:00
greybus
hid HID: wacom: Correct behavior when processing some confidence == false touches 2024-01-25 14:52:49 -08:00
hsi
hv
hwmon hwmon: (corsair-psu) Fix probe when built-in 2024-01-25 14:52:29 -08:00
hwspinlock
hwtracing coresight: etm4x: Fix width of CCITMIN field 2024-01-25 14:52:32 -08:00
i2c i2c: rk3x: fix potential spinlock recursion on poll 2024-01-25 14:52:30 -08:00
i3c
idle
iio iio: adc: ad9467: fix scale setting 2024-01-25 14:52:51 -08:00
infiniband IB/iser: Prevent invalidating wrong MR 2024-01-25 14:52:45 -08:00
input Input: atkbd - use ab83 as id when skipping the getid command 2024-01-25 14:52:46 -08:00
interconnect interconnect: Treat xlate() returning NULL node as an error 2024-01-05 15:13:32 +01:00
iommu iommu/dma: Trace bounce buffer usage when mapping buffers 2024-01-25 14:52:49 -08:00
ipack
irqchip
isdn
leds leds: aw2013: Select missing dependency REGMAP_I2C 2024-01-25 14:52:50 -08:00
macintosh
mailbox
mcb
md Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d" 2024-01-25 14:52:31 -08:00
media media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe() 2024-01-25 14:52:43 -08:00
memory
memstick
message
mfd mfd: intel-lpss: Fix the fractional clock divider flags 2024-01-25 14:52:50 -08:00
misc misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write 2023-12-13 18:36:45 +01:00
mmc mmc: sdhci_omap: Fix TI SoC dependencies 2024-01-25 14:52:45 -08:00
most
mtd mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-01-25 14:52:34 -08:00
mux
net net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe 2024-01-25 14:52:53 -08:00
nfc
ntb
nubus
nvdimm
nvme nvmet-tcp: Fix the H2C expected PDU len calculation 2024-01-25 14:52:52 -08:00
nvmem
of of: unittest: Fix of_count_phandle_with_args() expected value message 2024-01-25 14:52:46 -08:00
opp
parisc
parport parport: parport_serial: Add Brainboxes device IDs and geometry 2024-01-25 14:52:31 -08:00
pci PCI: keystone: Fix race condition when initializing PHYs 2024-01-25 14:52:52 -08:00
pcmcia
perf
phy
pinctrl pinctrl: lochnagar: Don't build on MIPS 2024-01-25 14:52:27 -08:00
platform platform/x86: intel-vbtn: Fix missing tablet-mode-switch events 2024-01-25 14:52:29 -08:00
pnp
power power: supply: bq256xx: fix some problem in bq256xx_hw_init 2024-01-25 14:52:50 -08:00
powercap
pps
ps3
ptp
pwm pwm: jz4740: Don't use dev_err_probe() in .request() 2024-01-25 14:52:48 -08:00
rapidio
ras
regulator
remoteproc
reset reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2024-01-25 14:52:30 -08:00
rpmsg
rtc
s390 s390/scm: fix virtual vs physical address confusion 2024-01-25 14:52:30 -08:00
sbus
scsi scsi: mpi3mr: Refresh sdev queue depth after controller reset 2024-01-25 14:52:48 -08:00
sh
siox
slimbus
soc soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration 2024-01-25 14:52:39 -08:00
soundwire soundwire: stream: fix NULL pointer dereference for multi_link 2023-12-20 15:17:41 +01:00
spi spi: sh-msiof: Enforce fixed DTDL for R-Car H3 2024-01-25 14:52:34 -08:00
spmi
ssb
staging net: vlan: introduce skb_vlan_eth_hdr() 2023-12-20 15:17:35 +01:00
target
tc
tee tee: optee: Fix supplicant based device enumeration 2023-12-13 18:36:38 +01:00
thermal
thunderbolt
tty serial: imx: Correct clock error message in function probe() 2024-01-25 14:52:52 -08:00
uio uio: Fix use-after-free in uio_open 2024-01-25 14:52:31 -08:00
usb usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer 2024-01-25 14:52:52 -08:00
vdpa vdpa/mlx5: preserve CVQ vringh index 2023-12-13 18:36:31 +01:00
vfio
vhost
video fbdev: flush deferred work in fb_deferred_io_fsync() 2024-01-25 14:52:48 -08:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused 2024-01-25 14:52:44 -08:00
xen
zorro
Kconfig
Makefile