Re: [PATCH net-next] net: dsa: mv88e6xxx: unconditionally set ATU trunk

2017-03-28 Thread David Miller
From: Vivien Didelot Date: Tue, 28 Mar 2017 15:09:43 -0400 > Set the trunk member of the mv88e6xxx_atu_entry structure regardless its > value, so that uninitialized structures gets the correct boolean value. > > Note that no mainline code is affected by the current behavior. > > Signed-off-by:

Re: [PATCH net-next] net: dsa: mv88e6xxx: unconditionally set ATU trunk

2017-03-28 Thread Florian Fainelli
On 03/28/2017 12:09 PM, Vivien Didelot wrote: > Set the trunk member of the mv88e6xxx_atu_entry structure regardless its > value, so that uninitialized structures gets the correct boolean value. Ouch, yes indeed! > > Note that no mainline code is affected by the current behavior. > > Signed-off

Re: [PATCH net-next] net: dsa: mv88e6xxx: unconditionally set ATU trunk

2017-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2017 at 03:09:43PM -0400, Vivien Didelot wrote: > Set the trunk member of the mv88e6xxx_atu_entry structure regardless its > value, so that uninitialized structures gets the correct boolean value. > > Note that no mainline code is affected by the current behavior. > > Signed-off-b

[PATCH net-next] net: dsa: mv88e6xxx: unconditionally set ATU trunk

2017-03-28 Thread Vivien Didelot
Set the trunk member of the mv88e6xxx_atu_entry structure regardless its value, so that uninitialized structures gets the correct boolean value. Note that no mainline code is affected by the current behavior. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global1_atu.c | 4 +--- 1