diff options
author | Yoshihiro Shimoda <[email protected]> | 2024-01-05 18:37:03 +0900 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-01-24 11:22:20 +0530 |
commit | 249abaf3bf0dd07f5ddebbb2fe2e8f4d675f074e (patch) | |
tree | 735902d442dcd74ea126a25f957c1cd851d738bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 62a5df451ab911421da96655fcc4d1e269ff6e2f (diff) |
phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
Even if device_create_file() returns error code,
rcar_gen3_phy_usb2_probe() will return zero because the "ret" is
variable shadowing.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 441a681b8843 ("phy: rcar-gen3-usb2: fix implementation for runtime PM")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions