[PATCH 0/3] net: fm: Fix some Smatch reports

Andrew Goodbody andrew.goodbody at linaro.org
Mon Aug 4 18:03:56 CEST 2025


Smatch reports some issues with incorrect tests for timeout and
dereferencing before a NULL check. Fix them.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (3):
      net: fm: Correct test for timeout
      net: fm: NULL check dev before dereference
      net: fm: Correct test for timeout

 drivers/net/fm/eth.c       | 9 ++++++---
 drivers/net/fm/memac_phy.c | 4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)
---
base-commit: ae5711f881100f856ead1e76832c32b92dba93c7
change-id: 20250804-net_fm_eth-f92b9929d7cf

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



More information about the U-Boot mailing list