From patchwork Thu Oct 5 18:14:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 114976 Delivered-To: patch@linaro.org Received: by 10.80.163.170 with SMTP id s39csp502252edb; Thu, 5 Oct 2017 11:14:16 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCO1y6+lkb1kpIAUuNvuYq3XJI20bl7dJZY4LkmXVy6kbqQeVSdyq/FTe7bngwmTs+puqyC X-Received: by 10.80.164.212 with SMTP id x20mr35112295edb.287.1507227256217; Thu, 05 Oct 2017 11:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507227256; cv=none; d=google.com; s=arc-20160816; b=EtPa7aoJDbmmp5pYUkpJRU7Q/YW24RkKs/OBeorJ8RdNGxkQuI/kiX7lJgexVCp0Ab ueY5kF7NUDUI1A1TK1Y+24eCiVBTbJA5WMi14gzC2Q+mm8aruJjb6AwRTaTRdr3kxPFL fXu91pkDYAbqWigdbdPuye6DrvQuCwivQPW/hY0HnOdo7rpIjRPuxoamJiClKkeQox27 6tViIbsBA16acxB7WojlOPeNGyAX0K9DmH4Uu1blPfXznfQFpT8Yr3iAWGxc8DA+91Jp g9Z7bhoPd1jGUIXD9d0NdyTMSfgCnTgy2D7x/luQ9q465hjAwKIFpfkn36ssTX57ghAt fq9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=SCftNgfINesPG+n3L8+cpFNClpgRDgXC4aaau2LPUbc=; b=zaPcQc+dKfXhcsndL8oCyJo7gmnYd+CNbVL2Jt2q7Vyz9SF21k2GRb8op0bzl/IbbU XT0eCgpUh76htHE6b4nKWVvxIRcM+5IN5uZ+Fr7nnPUUgtgSuwUuBsOes7vZUuzWnD0G lHokyq6YWdWXScLCA6U0HJ09M9WmLJpHYIScMMsIcX0Y99GfTrQMWMh7uOAGAH0ySII5 HfKICv79aIljfrAiJeva5Wd0FF27jqLDfHDMTLmFMmAB8grgbshYf4wgCs72kZnJlYuC itM0nSpb0j6BrJ1on5AXZ01mwvLN+1ZGlSXybhubanLBn3YXOTdZLIP9bktZaLS/fPlX m8jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id r26si7946edm.33.2017.10.05.11.14.14; Thu, 05 Oct 2017 11:14:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 39BBDC21DF3; Thu, 5 Oct 2017 18:14:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 19605C21DF3; Thu, 5 Oct 2017 18:14:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F4092C21DF3; Thu, 5 Oct 2017 18:14:06 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 8BDF4C21D75 for ; Thu, 5 Oct 2017 18:14:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A493AAB5F for ; Thu, 5 Oct 2017 18:14:02 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 5 Oct 2017 20:14:01 +0200 Message-Id: <20171005181401.51285-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Subject: [U-Boot] [PATCH] iso: Reduce verbosity on test call X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- disk/part_iso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) = {