Andrew Goodbody 5b95f666fb net: fm: Correct test for timeout
In memac_wait_until_free and memac_wait_until_done the use of
post-decrement on the test in the while loop for a timeout means that
timeout will be equal to -1 on exit in that case. Adjust the test for
this expected value.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-08-27 15:39:58 +08:00
..
2023-12-21 08:54:37 -05:00
2022-12-07 16:04:16 -05:00
2025-08-27 15:39:58 +08:00