linux-stable/drivers/phy
Dan Carpenter fd056574a7 phy: ti: gmii-sel: check of_get_address() for failure
[ Upstream commit 8d55027f4e ]

Smatch complains that if of_get_address() returns NULL, then "size"
isn't initialized.  Also it would lead to an Oops.

Fixes: 7f78322cdd ("phy: ti: gmii-sel: retrieve ports number and base offset from dt")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Link: https://lore.kernel.org/r/20210914110038.GB11657@kili
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:20 +01:00
..
allwinner
amlogic
broadcom phy: usb: Fix misuse of IS_ENABLED 2021-06-16 12:01:43 +02:00
cadence phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() 2021-06-16 12:01:45 +02:00
freescale
hisilicon
intel phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP 2021-07-20 16:05:46 +02:00
lantiq
marvell
mediatek phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() 2021-06-23 14:42:48 +02:00
motorola
mscc
qualcomm phy: qcom-qusb2: Fix a memory leak on probe 2021-11-18 14:04:20 +01:00
ralink
renesas
rockchip
samsung
socionext phy: uniphier-pcie: Fix updating phy parameters 2021-07-14 16:56:47 +02:00
st
tegra
ti phy: ti: gmii-sel: check of_get_address() for failure 2021-11-18 14:04:20 +01:00
xilinx
Kconfig
Makefile
phy-core-mipi-dphy.c
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c