kernel_samsung_a53x/drivers/net/dsa
Kunwu Chan ab7b330179 net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
[ Upstream commit 776dac5a662774f07a876b650ba578d0a62d20db ]

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

Fixes: 05bd97fc559d ("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-11-18 12:12:51 +01:00
..
b53 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
microchip Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6xxx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ocelot Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sja1105 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2.c net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register() 2024-11-08 11:26:11 +01:00
bcm_sf2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2_cfp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop_bdinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303_mdio.c net: dsa: lan9303: consequently nested-lock physical MDIO 2024-11-18 11:43:30 +01:00
lantiq_gswip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lantiq_pce.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mt7530.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mt7530.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6060.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6060.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca8k.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca8k.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek-smi-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek-smi-core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8366.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8366rb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx-core.c net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe 2024-11-18 12:12:51 +01:00
vitesse-vsc73xx-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx-spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00