linux/drivers/phy/hisilicon
Dan Carpenter f0ae8685b2 phy: HiSilicon: Fix copy and paste bug in error handling
This should check ">pmctrl" instead of "->sysctrl".  This bug could
potentially lead to a crash if we dereference the error pointer.

Fixes: 73075011ff ("phy: HiSilicon: Add driver for Kirin 970 PCIe PHY")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20211117074843.GE5237@kili
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-11-23 10:42:13 +05:30
..
Kconfig phy: HiSilicon: Add driver for Kirin 970 PCIe PHY 2021-10-01 13:42:18 +05:30
Makefile phy: HiSilicon: Add driver for Kirin 970 PCIe PHY 2021-10-01 13:42:18 +05:30
phy-hi3660-usb3.c
phy-hi3670-pcie.c phy: HiSilicon: Fix copy and paste bug in error handling 2021-11-23 10:42:13 +05:30
phy-hi3670-usb3.c
phy-hi6220-usb.c
phy-hisi-inno-usb2.c phy: hisilicon: Add of_node_put() in phy-hisi-inno-usb2 2021-10-26 16:36:23 +05:30
phy-histb-combphy.c
phy-hix5hd2-sata.c