[PATCH v5 09/15] cmd: List all uclass devices regardless of probe error
Simon Glass
sjg at chromium.org
Mon Oct 3 03:10:30 CEST 2022
Hi Michal,
On Sun, 2 Oct 2022 at 13:10, Michal Suchánek <msuchanek at suse.de> wrote:
>
> Hello,
>
> On Thu, Sep 29, 2022 at 04:00:42AM -0600, Simon Glass wrote:
> > On Tue, 27 Sept 2022 at 15:38, Michal Suchanek <msuchanek at suse.de> 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 <msuchanek at suse.de>
> > > ---
> > > 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:
>
> Can you be please more sspecific about 'the errno change' and the
> problem with it?
I mean please print the errno instead of converting to a string. That
change needs to be done separately.
Regards,
Simon
> >
> > Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list