net: dsa: mv88e6xxx: unconditionally set ATU trunk
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 28 Mar 2017 19:09:43 +0000 (15:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 05:04:51 +0000 (22:04 -0700)
commit64014fe67b0aafa129d80266fce58b60783d5c91
tree092bf810f5fc15dcbd328406c00a369016e6f89d
parent382ed72480e122421d759eb986690f04041d34bc
net: dsa: mv88e6xxx: unconditionally set ATU trunk

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 <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global1_atu.c