Home
last modified time | relevance | path

Searched hist:f0ae8685 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/hisilicon/
H A Dphy-hi3670-pcie.cf0ae8685 Wed Nov 17 01:48:43 CST 2021 Dan Carpenter <dan.carpenter@oracle.com> 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: 73075011ffff ("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>