diff options
| author | 2026-04-13 15:00:33 +0800 | |
|---|---|---|
| committer | 2026-05-10 17:23:41 +0530 | |
| commit | c2cd08e8f150738515c8df415ad7ecfa3d38124a (patch) | |
| tree | d5d40af40ce009bf480909e813c34b28e7d7fe9b /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | phy: qcom-qmp-ufs: Fix kaanapali PHY PLL lock failure after SM8650 G4 fix (diff) | |
phy: eswin: Fix incorrect error check in probe()
devm_ioremap() returns NULL on failure, not an ERR_PTR.
Using IS_ERR() to check the return value is incorrect.
Fix this by checking for NULL and returning -ENOMEM.
Fixes: 67ee9ccaa34a ("phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver")
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/linux-phy/adjNbuWoc1B-3Ok1@stanley.mountain/
Signed-off-by: Yulin Lu <luyulin@eswincomputing.com>
Link: https://patch.msgid.link/20260413070033.128-1-luyulin@eswincomputing.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
