diff options
| author | Yang Li <[email protected]> | 2021-05-25 10:50:32 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-05-31 08:41:44 +0000 |
| commit | b8203ec7f58ae925e10fadd3d136073ae7503a6e (patch) | |
| tree | cd7d1801be81d964e35a2bf94cb4c40059e253e3 /tools/perf/scripts/python/flamegraph.py | |
| parent | phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() (diff) | |
| download | kernel-b8203ec7f58ae925e10fadd3d136073ae7503a6e.tar.gz kernel-b8203ec7f58ae925e10fadd3d136073ae7503a6e.zip | |
phy: ti: Fix an error code in wiz_probe()
When the code execute this if statement, the value of ret is 0.
However, we can see from the dev_err() log that the value of
ret should be -EINVAL.
Clean up smatch warning:
drivers/phy/ti/phy-j721e-wiz.c:1216 wiz_probe() warn: missing error code 'ret'
Reported-by: Abaci Robot <[email protected]>
Fixes: c9f9eba06629 ("phy: ti: j721e-wiz: Manage typec-gpio-dir")
Signed-off-by: Yang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
