Smatch reports some issues with incorrect tests for timeout and dereferencing before a NULL check. Fix them.
Signed-off-by: Andrew Goodbody <andrew.goodb...@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.goodb...@linaro.org>