Commit e2fb1afa authored by Kalesh AP's avatar Kalesh AP Committed by David S. Miller

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: default avatarKalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d6f5473c
...@@ -130,6 +130,7 @@ static const struct be_ethtool_stat et_stats[] = { ...@@ -130,6 +130,7 @@ static const struct be_ethtool_stat et_stats[] = {
{DRVSTAT_INFO(roce_drops_payload_len)}, {DRVSTAT_INFO(roce_drops_payload_len)},
{DRVSTAT_INFO(roce_drops_crc)} {DRVSTAT_INFO(roce_drops_crc)}
}; };
#define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats) #define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats)
/* Stats related to multi RX queues: get_stats routine assumes bytes, pkts /* 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,6 +153,7 @@ static const struct be_ethtool_stat et_rx_stats[] = {
*/ */
{DRVSTAT_RX_INFO(rx_drops_no_frags)} {DRVSTAT_RX_INFO(rx_drops_no_frags)}
}; };
#define ETHTOOL_RXSTATS_NUM (ARRAY_SIZE(et_rx_stats)) #define ETHTOOL_RXSTATS_NUM (ARRAY_SIZE(et_rx_stats))
/* Stats related to multi TX queues: get_stats routine assumes compl is the /* 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,6 +202,7 @@ static const struct be_ethtool_stat et_tx_stats[] = {
/* Pkts dropped in the driver's transmit path */ /* Pkts dropped in the driver's transmit path */
{DRVSTAT_TX_INFO(tx_drv_drops)} {DRVSTAT_TX_INFO(tx_drv_drops)}
}; };
#define ETHTOOL_TXSTATS_NUM (ARRAY_SIZE(et_tx_stats)) #define ETHTOOL_TXSTATS_NUM (ARRAY_SIZE(et_tx_stats))
static const char et_self_tests[][ETH_GSTRING_LEN] = { static const char et_self_tests[][ETH_GSTRING_LEN] = {
......
...@@ -86,6 +86,7 @@ static const char * const ue_status_low_desc[] = { ...@@ -86,6 +86,7 @@ static const char * const ue_status_low_desc[] = {
"JTAG ", "JTAG ",
"MPU_INTPEND " "MPU_INTPEND "
}; };
/* UE Status High CSR */ /* UE Status High CSR */
static const char * const ue_status_hi_desc[] = { static const char * const ue_status_hi_desc[] = {
"LPCMEMHOST", "LPCMEMHOST",
...@@ -1424,6 +1425,7 @@ static int be_set_vf_tx_rate(struct net_device *netdev, int vf, ...@@ -1424,6 +1425,7 @@ static int be_set_vf_tx_rate(struct net_device *netdev, int vf,
max_tx_rate, vf); max_tx_rate, vf);
return be_cmd_status(status); return be_cmd_status(status);
} }
static int be_set_vf_link_state(struct net_device *netdev, int vf, static int be_set_vf_link_state(struct net_device *netdev, int vf,
int link_state) int link_state)
{ {
......
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