Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-09-25 Thread Michal Suchánek
On Sun, Sep 25, 2022 at 08:15:31AM -0600, Simon Glass wrote: > Hi Michal, > > On Sat, 24 Sept 2022 at 14:10, Michal Suchánek wrote: > > > > Hello, > > > > On Sat, Sep 17, 2022 at 07:04:25PM +0200, Michal Suchánek wrote: > > > Hello, > > > > > > On Sat, Sep 17, 2022 at 09:02:53AM -0600, Simon Glas

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-09-25 Thread Simon Glass
Hi Michal, On Sat, 24 Sept 2022 at 14:10, Michal Suchánek wrote: > > Hello, > > On Sat, Sep 17, 2022 at 07:04:25PM +0200, Michal Suchánek wrote: > > Hello, > > > > On Sat, Sep 17, 2022 at 09:02:53AM -0600, Simon Glass wrote: > > > Hi Michal, > > > > > > On Wed, 31 Aug 2022 at 11:44, Simon Glass

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-09-24 Thread Michal Suchánek
Hello, On Sat, Sep 17, 2022 at 07:04:25PM +0200, Michal Suchánek wrote: > Hello, > > On Sat, Sep 17, 2022 at 09:02:53AM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Wed, 31 Aug 2022 at 11:44, Simon Glass wrote: > > > > > > Hi Michal, > > > > > > On Wed, 31 Aug 2022 at 01:39, Michal Suchá

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-09-17 Thread Michal Suchánek
Hello, On Sat, Sep 17, 2022 at 09:02:53AM -0600, Simon Glass wrote: > Hi Michal, > > On Wed, 31 Aug 2022 at 11:44, Simon Glass wrote: > > > > Hi Michal, > > > > On Wed, 31 Aug 2022 at 01:39, Michal Suchánek wrote: > > > > > > Hello, > > > > > > On Tue, Aug 30, 2022 at 09:15:12PM -0600, Simon Gl

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-09-17 Thread Simon Glass
Hi Michal, On Wed, 31 Aug 2022 at 11:44, Simon Glass wrote: > > Hi Michal, > > On Wed, 31 Aug 2022 at 01:39, Michal Suchánek wrote: > > > > Hello, > > > > On Tue, Aug 30, 2022 at 09:15:12PM -0600, Simon Glass wrote: > > > Hi Michal, > > > > > > On Tue, 30 Aug 2022 at 10:48, Michal Suchánek wrot

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-31 Thread Simon Glass
Hi Michal, On Wed, 31 Aug 2022 at 01:39, Michal Suchánek wrote: > > Hello, > > On Tue, Aug 30, 2022 at 09:15:12PM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Tue, 30 Aug 2022 at 10:48, Michal Suchánek wrote: > > > > > > On Tue, Aug 30, 2022 at 09:56:52AM -0600, Simon Glass wrote: > > > >

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-31 Thread Michal Suchánek
Hello, On Tue, Aug 30, 2022 at 09:15:12PM -0600, Simon Glass wrote: > Hi Michal, > > On Tue, 30 Aug 2022 at 10:48, Michal Suchánek wrote: > > > > On Tue, Aug 30, 2022 at 09:56:52AM -0600, Simon Glass wrote: > > > Hi Michal, > > > > > > On Tue, 30 Aug 2022 at 04:23, Michal Suchánek wrote: > > >

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-30 Thread Simon Glass
Hi Michal, On Tue, 30 Aug 2022 at 10:48, Michal Suchánek wrote: > > On Tue, Aug 30, 2022 at 09:56:52AM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Tue, 30 Aug 2022 at 04:23, Michal Suchánek wrote: > > > > > > On Sat, Aug 27, 2022 at 07:52:27PM -0600, Simon Glass wrote: > > > > Hi Michal,

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-30 Thread Michal Suchánek
On Tue, Aug 30, 2022 at 09:56:52AM -0600, Simon Glass wrote: > Hi Michal, > > On Tue, 30 Aug 2022 at 04:23, Michal Suchánek wrote: > > > > On Sat, Aug 27, 2022 at 07:52:27PM -0600, Simon Glass wrote: > > > Hi Michal, > > > > > > On Fri, 19 Aug 2022 at 14:23, Michal Suchanek wrote: > > > > > > >

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-30 Thread Simon Glass
Hi Michal, On Tue, 30 Aug 2022 at 04:23, Michal Suchánek wrote: > > On Sat, Aug 27, 2022 at 07:52:27PM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Fri, 19 Aug 2022 at 14:23, Michal Suchanek wrote: > > > > > > When probing a device fails NULL pointer is returned, and other devices > > > c

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-30 Thread Michal Suchánek
On Sat, Aug 27, 2022 at 07:52:27PM -0600, Simon Glass wrote: > Hi Michal, > > On Fri, 19 Aug 2022 at 14:23, Michal Suchanek wrote: > > > > When probing a device fails NULL pointer is returned, and other devices > > cannot be iterated. Skip to next device on error instead. > > > > Fixes: 6494d708b

Re: [PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-27 Thread Simon Glass
Hi Michal, On Fri, 19 Aug 2022 at 14:23, Michal Suchanek wrote: > > When probing a device fails NULL pointer is returned, and other devices > cannot be iterated. Skip to next device on error instead. > > Fixes: 6494d708bf ("dm: Add base driver model support") I think you should drop this as you

[PATCH v3] dm: core: Do not stop uclass iteration on error

2022-08-19 Thread Michal Suchanek
When probing a device fails NULL pointer is returned, and other devices cannot be iterated. Skip to next device on error instead. Fixes: 6494d708bf ("dm: Add base driver model support") Signed-off-by: Michal Suchanek --- v2: - Fix up tests v3: - Fix up API doc - Correctly forward error from u