Re: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-24 Thread Tom Rini
On Wed, Jun 24, 2020 at 11:19:50AM +, Patrick DELAUNAY wrote: > Hi Tom, > > > From: Tom Rini > > Sent: mardi 23 juin 2020 17:17 > > > > On Tue, Jun 23, 2020 at 01:13:55PM +, Patrick DELAUNAY wrote: > > > Hi Tom, > > > > > > > From: Tom Rini > > > > Sent: vendredi 19 juin 2020 20:05 > >

RE: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-24 Thread Patrick DELAUNAY
Hi Tom, > From: Tom Rini > Sent: mardi 23 juin 2020 17:17 > > On Tue, Jun 23, 2020 at 01:13:55PM +, Patrick DELAUNAY wrote: > > Hi Tom, > > > > > From: Tom Rini > > > Sent: vendredi 19 juin 2020 20:05 > > > > > > On Fri, Jun 19, 2020 at 02:14:00PM +, Patrick DELAUNAY wrote: > > > > Hi

Re: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-23 Thread Tom Rini
On Tue, Jun 23, 2020 at 01:13:55PM +, Patrick DELAUNAY wrote: > Hi Tom, > > > From: Tom Rini > > Sent: vendredi 19 juin 2020 20:05 > > > > On Fri, Jun 19, 2020 at 02:14:00PM +, Patrick DELAUNAY wrote: > > > Hi Tom and Marek, > > > > > > > From: Tom Rini > > > > Sent: jeudi 18 juin 2020

RE: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-23 Thread Patrick DELAUNAY
Hi Tom, > From: Tom Rini > Sent: vendredi 19 juin 2020 20:05 > > On Fri, Jun 19, 2020 at 02:14:00PM +, Patrick DELAUNAY wrote: > > Hi Tom and Marek, > > > > > From: Tom Rini > > > Sent: jeudi 18 juin 2020 21:16 > > > > > > On Tue, Jun 16, 2020 at 09:40:42AM +0200, Patrick Delaunay wrote: >

Re: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-19 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:14:00PM +, Patrick DELAUNAY wrote: > Hi Tom and Marek, > > > From: Tom Rini > > Sent: jeudi 18 juin 2020 21:16 > > > > On Tue, Jun 16, 2020 at 09:40:42AM +0200, Patrick Delaunay wrote: > > > > > Don't return error with ret=-ENOENT when the optional ops drv->init

RE: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-19 Thread Patrick DELAUNAY
Hi Tom and Marek, > From: Tom Rini > Sent: jeudi 18 juin 2020 21:16 > > On Tue, Jun 16, 2020 at 09:40:42AM +0200, Patrick Delaunay wrote: > > > Don't return error with ret=-ENOENT when the optional ops drv->init is > > absent but only if env_driver_lookup doesn't found driver. > > > > This

Re: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-18 Thread Tom Rini
On Tue, Jun 16, 2020 at 09:40:42AM +0200, Patrick Delaunay wrote: > Don't return error with ret=-ENOENT when the optional ops drv->init > is absent but only if env_driver_lookup doesn't found driver. > > This patch correct an issue for the code > if (!env_init()) > env_load() > When only