disk: Fix issue where _p struct was not zeroed out in create_disk_index()
diff --git a/common/drivers/disk.s2.c b/common/drivers/disk.s2.c
index 37b34732..ef3d0506 100644
--- a/common/drivers/disk.s2.c
+++ b/common/drivers/disk.s2.c
@@ -648,8 +648,8 @@ fail:
volume_index[volume_index_i++] = block;
- struct volume _p;
for (int part = 0; ; part++) {
+ struct volume _p = {0};
int ret = part_get(&_p, block, part);
