mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 06:24:17 +00:00
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:
commit
9d9fbdab0e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue