Skip to contentSkip to conversation

iso: Reduce verbosity on test call

PATCH New Alexander Graf 1 participant 1 message Oct 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iso: Reduce verbosity on test call

The test callback into the partition callback struct is used by the "part list" command on the command line. That command is used by the distro script.

With verb=1 set, "part list" thus throws a lot of warnings about partitions it can't find when an upper layer searches for partitions.

So let's reduce verbosity to bring it to the same level of noise as the other partition targets.

---
 disk/part_iso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
disk/part_iso.c +1 -1
index 8aef251f4e..a7fb0a0975 100644
@@ -228,7 +228,7 @@ static int part_test_iso(struct blk_desc *dev_desc)
 {
 	disk_partition_t info;
 
-	return part_get_info_iso_verb(dev_desc, 1, &info, 1);
+	return part_get_info_iso_verb(dev_desc, 1, &info, 0);
 }
 
 U_BOOT_PART_TYPE(iso) = {
Signature · 1 line
2.12.3