Skip to content

Commit

Permalink
iso: Reduce verbosity on test and info calls
Browse files Browse the repository at this point in the history
The test and info callbacks into the partition callback struct are
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 <[email protected]>
  • Loading branch information
agraf authored and trini committed Oct 16, 2017
1 parent 7d8e9e8 commit b16339e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disk/part_iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num,
static int part_get_info_iso(struct blk_desc *dev_desc, int part_num,
disk_partition_t *info)
{
return part_get_info_iso_verb(dev_desc, part_num, info, 1);
return part_get_info_iso_verb(dev_desc, part_num, info, 0);
}

static void part_print_iso(struct blk_desc *dev_desc)
Expand All @@ -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) = {
Expand Down

0 comments on commit b16339e

Please sign in to comment.