* [U-Boot] [PATCH v2] iso: Reduce verbosity on test and info calls
@ 2017-10-06 11:35 Alexander Graf
2017-10-17 0:46 ` [U-Boot] [U-Boot, " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Graf @ 2017-10-06 11:35 UTC (permalink / raw)
To: u-boot
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 <agraf@suse.de>
---
v1 -> v2:
- Also silence the info callback
---
disk/part_iso.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/disk/part_iso.c b/disk/part_iso.c
index 8aef251f4e..4036b00b25 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -202,7 +202,7 @@ found:
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)
@@ -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) = {
--
2.12.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [U-Boot, v2] iso: Reduce verbosity on test and info calls
2017-10-06 11:35 [U-Boot] [PATCH v2] iso: Reduce verbosity on test and info calls Alexander Graf
@ 2017-10-17 0:46 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-10-17 0:46 UTC (permalink / raw)
To: u-boot
On Fri, Oct 06, 2017 at 01:35:07PM +0200, Alexander Graf wrote:
> 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 <agraf@suse.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171016/b50b3333/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-17 0:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-06 11:35 [U-Boot] [PATCH v2] iso: Reduce verbosity on test and info calls Alexander Graf
2017-10-17 0:46 ` [U-Boot] [U-Boot, " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox