diff options
author | Yang Yingliang <[email protected]> | 2023-08-24 17:13:45 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-09-21 16:04:59 +0200 |
commit | 5f7cd740a6b657fba775bde744496e5ed21851ca (patch) | |
tree | 2c8d2d7f4a248b5955cfcd8e2e92f63b7e52f7c3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 211de9681195b92709b5d68e07af948b01c8bb9a (diff) |
phy: qcom: phy-qcom-m31: fix wrong pointer pass to PTR_ERR()
It should be 'qphy->vreg' passed to PTR_ERR() when devm_regulator_get() fails.
Fixes: 08e49af50701 ("phy: qcom: Introduce M31 USB PHY driver")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Varadarajan Narayanan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions