[PATCH master] linux/iopoll: fix inverted condition in read_poll_timeout

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 29 07:54:59 PDT 2025


On Sat, 26 Apr 2025 10:14:15 +0200, Ahmad Fatoum wrote:
> If there is no timeout, we wait indefinitely and don't care for the
> initial time. A fixup to silence a warning because of multiplication in
> boolean context added an explicit comparison and this ended up omitting
> get_time_ns() in the wrong case.
> 
> Flip it to fix, among others, MDIO on RK3568.
> 
> [...]

Applied, thanks!

[1/1] linux/iopoll: fix inverted condition in read_poll_timeout
      https://git.pengutronix.de/cgit/barebox/commit/?id=dea0ad02bbd6 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list