Merge tag 'ubifixes-for-2025.07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-ubi
ubi fixes for v2025.07-rc1 - ubi: fix bug creating partitions for non-existent volumes from Oskar Nilsson
This commit is contained in:
@@ -47,7 +47,7 @@ static int __maybe_unused part_get_info_ubi(struct blk_desc *dev_desc, int part_
|
|||||||
*/
|
*/
|
||||||
vol = ubi_get_volume_by_index(part_idx - 1);
|
vol = ubi_get_volume_by_index(part_idx - 1);
|
||||||
if (!vol)
|
if (!vol)
|
||||||
return 0;
|
return -ENOENT;
|
||||||
|
|
||||||
snprintf(info->name, PART_NAME_LEN, vol->name);
|
snprintf(info->name, PART_NAME_LEN, vol->name);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user