Re: [PATCH V3] env: Fix invalid env handling in env_init()

2021-04-18 Thread Tom Rini
On Wed, Jan 20, 2021 at 03:45:16PM +0100, Marek Vasut wrote: > This fixes the case where there are multiple environment drivers, one of > them is the default environment one, and it is followed by an environment > driver which does not implement .init() callback. The default environment > driver s

Re: [PATCH V3] env: Fix invalid env handling in env_init()

2021-04-16 Thread Marek Vasut
On 4/5/21 6:26 PM, Tim Harvey wrote: On Wed, Jan 20, 2021 at 6:45 AM Marek Vasut wrote: This fixes the case where there are multiple environment drivers, one of them is the default environment one, and it is followed by an environment driver which does not implement .init() callback. The defau

Re: [PATCH V3] env: Fix invalid env handling in env_init()

2021-04-05 Thread Tim Harvey
On Wed, Jan 20, 2021 at 6:45 AM Marek Vasut wrote: > > This fixes the case where there are multiple environment drivers, one of > them is the default environment one, and it is followed by an environment > driver which does not implement .init() callback. The default environment > driver sets gd->

[PATCH V3] env: Fix invalid env handling in env_init()

2021-01-20 Thread Marek Vasut
This fixes the case where there are multiple environment drivers, one of them is the default environment one, and it is followed by an environment driver which does not implement .init() callback. The default environment driver sets gd->env_valid to ENV_INVALID and returns 0 from its .init() callba