Skip to content

Commit 6c88d9d

Browse files
321lipengdavem330
authored andcommitted
net: hns3: report the function type the same line with hns3_nic_get_stats64
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bf90945 commit 6c88d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,8 @@ static int hns3_nic_set_features(struct net_device *netdev,
11261126
return 0;
11271127
}
11281128

1129-
static void
1130-
hns3_nic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats)
1129+
static void hns3_nic_get_stats64(struct net_device *netdev,
1130+
struct rtnl_link_stats64 *stats)
11311131
{
11321132
struct hns3_nic_priv *priv = netdev_priv(netdev);
11331133
int queue_num = priv->ae_handle->kinfo.num_tqps;

0 commit comments

Comments
 (0)