summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaleb Connolly <[email protected]>2024-01-04 16:03:35 +0000
committerTom Rini <[email protected]>2024-01-18 12:18:48 -0500
commit9d92c418acfb7576e12e2bd53fed294bb9543724 (patch)
treef25eaefcd963ddc0e0ab9260e392944328cfb29c /include
parentf7cca7ccc5117eaafcc2bde91ad1bed6fee7cfc3 (diff)
bootdev: avoid infinite probe loop
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Dragan Simic <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions