aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-04-22 19:34:34 -0400
committerDavid S. Miller <davem@davemloft.net>2013-04-22 19:34:34 -0400
commit55fbbe46e9eb3cbe6c335503f5550855a1128dce (patch)
treeb4edca6229d301dc9b17c3706f65ff76a244505c
parente5905c8352805373784b9df045de6f2864ab62ce (diff)
net: Fix vlan bitmask changes in EHEA driver.
This driver uses the crummy "| foo" style, putting the logical operation at the beginning of lines. Then when the VLAN tag flag bits got changed the operator ended up at both the end and the beginning of some lines. Fix the build error by having it uniformly use the operator at the end of the line. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/ibm/ehea/ehea_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c
index 1901ceb47dbf..90ea0b1673ca 100644
--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c
+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c
@@ -3021,12 +3021,12 @@ static struct ehea_port *ehea_setup_single_port(struct ehea_adapter *adapter,
3021 dev->netdev_ops = &ehea_netdev_ops; 3021 dev->netdev_ops = &ehea_netdev_ops;
3022 ehea_set_ethtool_ops(dev); 3022 ehea_set_ethtool_ops(dev);
3023 3023
3024 dev->hw_features = NETIF_F_SG | NETIF_F_TSO 3024 dev->hw_features = NETIF_F_SG | NETIF_F_TSO |
3025 | NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_CTAG_TX; 3025 NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_CTAG_TX;
3026 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO 3026 dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO |
3027 | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | 3027 NETIF_F_HIGHDMA | NETIF_F_IP_CSUM |
3028 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | 3028 NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
3029 | NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_RXCSUM; 3029 NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_RXCSUM;
3030 dev->vlan_features = NETIF_F_SG | NETIF_F_TSO | NETIF_F_HIGHDMA | 3030 dev->vlan_features = NETIF_F_SG | NETIF_F_TSO | NETIF_F_HIGHDMA |
3031 NETIF_F_IP_CSUM; 3031 NETIF_F_IP_CSUM;
3032 dev->watchdog_timeo = EHEA_WATCH_DOG_TIMEOUT; 3032 dev->watchdog_timeo = EHEA_WATCH_DOG_TIMEOUT;