From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55262C433F5 for ; Thu, 29 Sep 2022 10:05:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2CC4A84D97; Thu, 29 Sep 2022 12:03:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="JRO8h6z5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6FBEF84CB9; Thu, 29 Sep 2022 12:02:01 +0200 (CEST) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4D87384CB1 for ; Thu, 29 Sep 2022 12:01:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-oi1-x230.google.com with SMTP id v130so1085463oie.2 for ; Thu, 29 Sep 2022 03:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=mC5z1dWXmGlcUmR8eBR6JV5ZftkFT8J4+31uI+YJgnY=; b=JRO8h6z5hWff43aWyTpFHExR/VGB2TGZf5hc+qNOQQUAOz3VhZwhgaqOw8+hhJf2Vo Nnqjojmum5NXq6ONuP3tD3awZk8int4w/XGELc67yl/KzsHx0szgHzD8Hkzpo8BX54MT 5GD9zfr+QSzKkxDzI4Qam8NU5YbA71YZEnvTI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=mC5z1dWXmGlcUmR8eBR6JV5ZftkFT8J4+31uI+YJgnY=; b=fsMhjBhpqhX4JBDB41JYZCeYsxdD56A81CFDsmzV3vMzMa2nrk8BZoMA7xQWrO98wg zZdGGAaWDd+z0+w+uIrZz96sK5a8uMYXUT66nI7W4PpCkbh0YL4k4z/OZ5KYf3U3L+DG l1XVuQ1rpcBh1ImbvhQ9J8Q0/33A3eB2VhgTKeBWPg8sr4m9iPdtmj8SS6zc56hJAE7s Svshdz4OgGRT0Pn+UYJjAEcdMPJcwuJ8UE09QkyJdLUyxac993CvBEwV81fmvdkNwK4u d1kwlW5YSuf/WaM5VpQMZfYShNjL3jOiR34Gf2aLy7YQ43B4t177c9zczRF9RgNeFn1P Gg0g== X-Gm-Message-State: ACrzQf1ykeykA06D3JB8oEOmlqTPSrm2B+JQOlDVFGToqKQoV0pW5MnX z4ImIbq1fFFy8oONfkEYKMazJQXlbhjQe6+EhHxCtw== X-Google-Smtp-Source: AMsMyM6D3Dol+k3PHW5ha2coVt/2/YnNIvyByFPEnBEKHIEw8nPlKiS2hzwB/f+2siIPkPmNgrLswWAmZZzC9m3ha3k= X-Received: by 2002:a05:6808:d53:b0:351:1cab:9c29 with SMTP id w19-20020a0568080d5300b003511cab9c29mr1153299oik.64.1664445716726; Thu, 29 Sep 2022 03:01:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Simon Glass Date: Thu, 29 Sep 2022 04:00:42 -0600 Message-ID: Subject: Re: [PATCH v5 09/15] cmd: List all uclass devices regardless of probe error To: Michal Suchanek Cc: U-Boot Mailing List , Heinrich Schuchardt , Marek Vasut , Samuel Dionne-Riel , Vyacheslav Bocharov , Diego Rondini Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Tue, 27 Sept 2022 at 15:38, Michal Suchanek wrote: > > There are a few commands that iterate uclass with > uclass_first_device/uclass_next_device or the _err variant. > > Use the _check class iterator variant to get devices that fail to probe > as well, and print the status. > > Signed-off-by: Michal Suchanek > --- > cmd/adc.c | 22 ++++++++++------------ > cmd/demo.c | 16 ++++++++++------ > cmd/gpio.c | 15 +++++++++++---- > cmd/pmic.c | 15 ++++++++------- > cmd/regulator.c | 13 +++++++------ > 5 files changed, 46 insertions(+), 35 deletions(-) With the errno change dropped: Reviewed-by: Simon Glass