Re: [PATCH v2 02/13] dp8393x: Clean up endianness hacks

2020-01-07 Thread Finn Thain
On Tue, 7 Jan 2020, Philippe Mathieu-Daud? wrote: > On 1/6/20 11:19 PM, Finn Thain wrote: > > On Fri, 20 Dec 2019, Finn Thain wrote: > > > > > The in_use field is no different to the other words handled using > > > dp8393x_put() and dp8393x_get(). Use the same technique for in_use > > > that is u

Re: [PATCH v2 02/13] dp8393x: Clean up endianness hacks

2020-01-06 Thread Philippe Mathieu-Daudé
On 1/6/20 11:19 PM, Finn Thain wrote: On Fri, 20 Dec 2019, Finn Thain wrote: The in_use field is no different to the other words handled using dp8393x_put() and dp8393x_get(). Use the same technique for in_use that is used everywhere else. Signed-off-by: Finn Thain --- Changed since v1: - U

Re: [PATCH v2 02/13] dp8393x: Clean up endianness hacks

2020-01-06 Thread Finn Thain
On Fri, 20 Dec 2019, Finn Thain wrote: > The in_use field is no different to the other words handled using > dp8393x_put() and dp8393x_get(). Use the same technique for in_use > that is used everywhere else. > > Signed-off-by: Finn Thain > --- > Changed since v1: > - Use existing 'address' vari