Skip to content
Commit 8efae021 authored by Cristian Ciocaltea's avatar Cristian Ciocaltea Committed by Tom Rini
Browse files

api: storage: Fix enumeration of storage devices



dev_stor_get() is not able to find the next available device in the current
storage group when the previous enumerated device belongs to a different
group or class (e.g. network).

The root cause is the device group iterator not being reset after an
unsuccessful search for the last returned device so that the following
search for the next available device will start from beginning.

The issue has been identified by loading and booting GRUB in a QEMU
vexpress-a9 environment.

Signed-off-by: default avatarCristian Ciocaltea <cristian.ciocaltea@iquestgroup.com>
parent a7f4b4b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment