diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2014-09-19 06:16:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 15:01:08 -0400 |
commit | e2fb1afa60dd1195a7d851d563c5eec3f069b760 (patch) | |
tree | c1f073c4b668138a978ca3d77ea86efc1f88cd0d /drivers/net/ethernet/emulex | |
parent | d6f5473c4250f972eab2feb3faa1c923ec245124 (diff) |
be2net: insert a blank line after function/struct//enum definitions
This patch inserts a blank line after function/struct/union/enum definitions
as per checkpatch warnings.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_ethtool.c | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c index 9a2a72b38f9c..42b10f973793 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c | |||
@@ -130,6 +130,7 @@ static const struct be_ethtool_stat et_stats[] = { | |||
130 | {DRVSTAT_INFO(roce_drops_payload_len)}, | 130 | {DRVSTAT_INFO(roce_drops_payload_len)}, |
131 | {DRVSTAT_INFO(roce_drops_crc)} | 131 | {DRVSTAT_INFO(roce_drops_crc)} |
132 | }; | 132 | }; |
133 | |||
133 | #define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats) | 134 | #define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats) |
134 | 135 | ||
135 | /* Stats related to multi RX queues: get_stats routine assumes bytes, pkts | 136 | /* Stats related to multi RX queues: get_stats routine assumes bytes, pkts |
@@ -152,6 +153,7 @@ static const struct be_ethtool_stat et_rx_stats[] = { | |||
152 | */ | 153 | */ |
153 | {DRVSTAT_RX_INFO(rx_drops_no_frags)} | 154 | {DRVSTAT_RX_INFO(rx_drops_no_frags)} |
154 | }; | 155 | }; |
156 | |||
155 | #define ETHTOOL_RXSTATS_NUM (ARRAY_SIZE(et_rx_stats)) | 157 | #define ETHTOOL_RXSTATS_NUM (ARRAY_SIZE(et_rx_stats)) |
156 | 158 | ||
157 | /* Stats related to multi TX queues: get_stats routine assumes compl is the | 159 | /* Stats related to multi TX queues: get_stats routine assumes compl is the |
@@ -200,6 +202,7 @@ static const struct be_ethtool_stat et_tx_stats[] = { | |||
200 | /* Pkts dropped in the driver's transmit path */ | 202 | /* Pkts dropped in the driver's transmit path */ |
201 | {DRVSTAT_TX_INFO(tx_drv_drops)} | 203 | {DRVSTAT_TX_INFO(tx_drv_drops)} |
202 | }; | 204 | }; |
205 | |||
203 | #define ETHTOOL_TXSTATS_NUM (ARRAY_SIZE(et_tx_stats)) | 206 | #define ETHTOOL_TXSTATS_NUM (ARRAY_SIZE(et_tx_stats)) |
204 | 207 | ||
205 | static const char et_self_tests[][ETH_GSTRING_LEN] = { | 208 | static const char et_self_tests[][ETH_GSTRING_LEN] = { |
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 8095c83c55ec..31b5fdc589f9 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c | |||
@@ -86,6 +86,7 @@ static const char * const ue_status_low_desc[] = { | |||
86 | "JTAG ", | 86 | "JTAG ", |
87 | "MPU_INTPEND " | 87 | "MPU_INTPEND " |
88 | }; | 88 | }; |
89 | |||
89 | /* UE Status High CSR */ | 90 | /* UE Status High CSR */ |
90 | static const char * const ue_status_hi_desc[] = { | 91 | static const char * const ue_status_hi_desc[] = { |
91 | "LPCMEMHOST", | 92 | "LPCMEMHOST", |
@@ -1424,6 +1425,7 @@ err: | |||
1424 | max_tx_rate, vf); | 1425 | max_tx_rate, vf); |
1425 | return be_cmd_status(status); | 1426 | return be_cmd_status(status); |
1426 | } | 1427 | } |
1428 | |||
1427 | static int be_set_vf_link_state(struct net_device *netdev, int vf, | 1429 | static int be_set_vf_link_state(struct net_device *netdev, int vf, |
1428 | int link_state) | 1430 | int link_state) |
1429 | { | 1431 | { |