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

Andrew Goodbody andrew.goodbody at linaro.org
Wed Aug 6 18:43:23 CEST 2025


Smatch reported incorrect limit checks and testing unsigned values for
being negative.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
      phy: marvell: Fix off by 1 limit checks
      phy: marvell: Cannot test unsigned field to be negative

 drivers/phy/marvell/comphy_core.c | 4 ++--
 drivers/phy/marvell/comphy_core.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: 007610da2cca405ea7739fc120d90085be4b6ac2
change-id: 20250806-phy_marvell_comphy-5614735e86a6

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



More information about the U-Boot mailing list