Skip to content

Commit

Permalink
net: hns3: report the function type the same line with hns3_nic_get_s…
Browse files Browse the repository at this point in the history
…tats64

The function type should be on the same line with the function
name, or it may cause display error if a patch edit the
function. There is am example following:
https://www.spinics.net/lists/netdev/msg476141.html

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Peng Li authored and David S. Miller committed Jan 10, 2018
1 parent bf90945 commit 6c88d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,8 +1126,8 @@ static int hns3_nic_set_features(struct net_device *netdev,
return 0;
}

static void
hns3_nic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats)
static void hns3_nic_get_stats64(struct net_device *netdev,
struct rtnl_link_stats64 *stats)
{
struct hns3_nic_priv *priv = netdev_priv(netdev);
int queue_num = priv->ae_handle->kinfo.num_tqps;
Expand Down

0 comments on commit 6c88d9d

Please sign in to comment.