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: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
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: phy-hi3670-usb3: move driver from staging into phy 2021-06-25 10:02:02 +02:00
phy-hi6220-usb.c phy: hisilicon: Use the correct HiSilicon copyright 2021-04-06 10:35:51 +05:30
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 phy: hisilicon: Use the correct HiSilicon copyright 2021-04-06 10:35:51 +05:30