[resend PATCH] bootdev: avoid infinite probe loop
Tom Rini
trini at konsulko.com
Fri Jan 19 17:08:22 CET 2024
On Thu, Jan 04, 2024 at 04:03:35PM +0000, Caleb Connolly wrote:
> Sometimes, when only one bootdev is available, and it fails to probe, we
> end up in an infinite loop calling probe() on the same device over and
> over. With only debug level log output.
>
> Break the loop if we fail to probe the same device twice in a row, and
> promote the probe failure message to log_warning().
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Dragan Simic <dsimic at manjaro.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240119/f982674c/attachment.sig>
More information about the U-Boot
mailing list