diff options
| author | Yoshihiro Shimoda <[email protected]> | 2024-01-05 09:37:03 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-01-24 05:52:20 +0000 |
| commit | 249abaf3bf0dd07f5ddebbb2fe2e8f4d675f074e (patch) | |
| tree | 735902d442dcd74ea126a25f957c1cd851d738bd /scripts/generate_rust_target.rs | |
| parent | phy: qcom-qmp-usb: fix serdes init sequence for IPQ6018 (diff) | |
| download | kernel-249abaf3bf0dd07f5ddebbb2fe2e8f4d675f074e.tar.gz kernel-249abaf3bf0dd07f5ddebbb2fe2e8f4d675f074e.zip | |
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 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
