Re: [PATCH 1/1] boot: fix bootdev_list()

2023-08-02 Thread Simon Glass
Hi Heinrich, On Sun, 30 Jul 2023 at 08:29, Heinrich Schuchardt wrote: > > uclass_get_device_by_name() is meant to return 0 or a negative error code. > simple_itoa() cannot handle negative numbers. > > This leads to output like: > > => bootdev list -p > > Seq Probed Status UclassNam

Re: [PATCH 1/1] boot: fix bootdev_list()

2023-07-31 Thread Simon Glass
Hi Heinrich, On Sun, 30 Jul 2023 at 08:29, Heinrich Schuchardt wrote: > > uclass_get_device_by_name() is meant to return 0 or a negative error code. > simple_itoa() cannot handle negative numbers. > > This leads to output like: > > => bootdev list -p > > Seq Probed Status UclassNam

[PATCH 1/1] boot: fix bootdev_list()

2023-07-30 Thread Heinrich Schuchardt
uclass_get_device_by_name() is meant to return 0 or a negative error code. simple_itoa() cannot handle negative numbers. This leads to output like: => bootdev list -p Seq Probed Status UclassName --- -- -- -- c [ ] 18446744073709