diff mbox series

iso: Reduce verbosity on test call

Message ID 20171005181401.51285-1-agraf@suse.de
State New
Headers show
Series iso: Reduce verbosity on test call | expand

Commit Message

Alexander Graf Oct. 5, 2017, 6:14 p.m. UTC
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.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 disk/part_iso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/disk/part_iso.c b/disk/part_iso.c
index 8aef251f4e..a7fb0a0975 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -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) = {