Files
u-boot/drivers
Andrew Goodbody 4b2d64f388 net: phy: vitesse: Fix incorrect test for timeout
In vsc8514_config there is a while loop for detecting a config failure
using a timeout counter with a post-decrement. In the case of a timeout
this will result in the loop exiting with timeout == -1 so use that as
the test below the loop to detect that the timeout occurred.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
2025-08-18 14:08:57 +02:00
..
2025-07-10 08:41:03 -06:00
2025-04-11 12:16:44 -06:00
2025-07-22 11:30:14 -06:00
2025-06-02 17:26:16 -06:00
2025-08-06 08:41:30 +02:00
2025-04-11 12:16:44 -06:00
2025-08-13 15:13:16 +02:00
2025-07-29 16:44:58 +02:00
2025-07-30 14:55:17 +02:00
2025-06-25 13:42:04 -06:00
2025-04-11 12:16:44 -06:00