[PATCH v2 0/2] phy: cadence: Fix two Smatch reported issues

Andrew Goodbody andrew.goodbody at linaro.org
Mon Aug 18 12:44:27 CEST 2025


Smatch reported issues with an unitialised variable and an error exit
that did not set an error code for return.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Changes in v2:
- Rework 1/2 to remove use of clk_names[]
- Link to v1: https://lore.kernel.org/r/20250806-phy-cadence-sierra-v1-0-2f0830caaacb@linaro.org

---
Andrew Goodbody (2):
      phy: cadence: sierra: Remove variable that is not assigned to
      phy: cadence: torrent: Set an error code for return

 drivers/phy/cadence/phy-cadence-sierra.c  | 13 +++----------
 drivers/phy/cadence/phy-cadence-torrent.c |  1 +
 2 files changed, 4 insertions(+), 10 deletions(-)
---
base-commit: 007610da2cca405ea7739fc120d90085be4b6ac2
change-id: 20250806-phy-cadence-sierra-c3208604bbf0

Best regards,
-- 
Andrew Goodbody <andrew.goodbody at linaro.org>



More information about the U-Boot mailing list