Commit 47407545 authored by Kumar Amit Mehta's avatar Kumar Amit Mehta Committed by David S. Miller

drivers: ethernet: qlogic: netxen_nic_ethtool.c: Fixed a coding style issue

Fixed some coding style issues.
Signed-off-by: default avatarKumar Amit Mehta <gmate.amit@gmail.com>
Acked-by: default avatarRajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b82cf962
...@@ -218,7 +218,7 @@ netxen_nic_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) ...@@ -218,7 +218,7 @@ netxen_nic_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd)
check_sfp_module = netif_running(dev) && check_sfp_module = netif_running(dev) &&
adapter->has_link_events; adapter->has_link_events;
} else { } else {
ecmd->supported |= (SUPPORTED_TP |SUPPORTED_Autoneg); ecmd->supported |= (SUPPORTED_TP | SUPPORTED_Autoneg);
ecmd->advertising |= ecmd->advertising |=
(ADVERTISED_TP | ADVERTISED_Autoneg); (ADVERTISED_TP | ADVERTISED_Autoneg);
ecmd->port = PORT_TP; ecmd->port = PORT_TP;
...@@ -381,7 +381,7 @@ static u32 netxen_nic_test_link(struct net_device *dev) ...@@ -381,7 +381,7 @@ static u32 netxen_nic_test_link(struct net_device *dev)
static int static int
netxen_nic_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, netxen_nic_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom,
u8 * bytes) u8 *bytes)
{ {
struct netxen_adapter *adapter = netdev_priv(dev); struct netxen_adapter *adapter = netdev_priv(dev);
int offset; int offset;
...@@ -643,7 +643,7 @@ static int netxen_get_sset_count(struct net_device *dev, int sset) ...@@ -643,7 +643,7 @@ static int netxen_get_sset_count(struct net_device *dev, int sset)
static void static void
netxen_nic_diag_test(struct net_device *dev, struct ethtool_test *eth_test, netxen_nic_diag_test(struct net_device *dev, struct ethtool_test *eth_test,
u64 * data) u64 *data)
{ {
memset(data, 0, sizeof(uint64_t) * NETXEN_NIC_TEST_LEN); memset(data, 0, sizeof(uint64_t) * NETXEN_NIC_TEST_LEN);
if ((data[0] = netxen_nic_reg_test(dev))) if ((data[0] = netxen_nic_reg_test(dev)))
...@@ -654,7 +654,7 @@ netxen_nic_diag_test(struct net_device *dev, struct ethtool_test *eth_test, ...@@ -654,7 +654,7 @@ netxen_nic_diag_test(struct net_device *dev, struct ethtool_test *eth_test,
} }
static void static void
netxen_nic_get_strings(struct net_device *dev, u32 stringset, u8 * data) netxen_nic_get_strings(struct net_device *dev, u32 stringset, u8 *data)
{ {
int index; int index;
...@@ -675,7 +675,7 @@ netxen_nic_get_strings(struct net_device *dev, u32 stringset, u8 * data) ...@@ -675,7 +675,7 @@ netxen_nic_get_strings(struct net_device *dev, u32 stringset, u8 * data)
static void static void
netxen_nic_get_ethtool_stats(struct net_device *dev, netxen_nic_get_ethtool_stats(struct net_device *dev,
struct ethtool_stats *stats, u64 * data) struct ethtool_stats *stats, u64 *data)
{ {
struct netxen_adapter *adapter = netdev_priv(dev); struct netxen_adapter *adapter = netdev_priv(dev);
int index; int index;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment