Browse Source

net: hns: add a space before "*/"

In comment line, some time miss a space before */, so this
patch adds a space before */.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Daode Huang 9 years ago
parent
commit
6ba312eb1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/net/ethernet/hisilicon/hns/hns_enet.c

+ 2 - 2
drivers/net/ethernet/hisilicon/hns/hns_enet.c

@@ -762,13 +762,13 @@ static int hns_nic_rx_poll_one(struct hns_nic_ring_data *ring_data,
 	recv_pkts = 0, recv_bds = 0, clean_count = 0;
 	recv_pkts = 0, recv_bds = 0, clean_count = 0;
 recv:
 recv:
 	while (recv_pkts < budget && recv_bds < num) {
 	while (recv_pkts < budget && recv_bds < num) {
-		/* reuse or realloc buffers*/
+		/* reuse or realloc buffers */
 		if (clean_count >= RCB_NOF_ALLOC_RX_BUFF_ONCE) {
 		if (clean_count >= RCB_NOF_ALLOC_RX_BUFF_ONCE) {
 			hns_nic_alloc_rx_buffers(ring_data, clean_count);
 			hns_nic_alloc_rx_buffers(ring_data, clean_count);
 			clean_count = 0;
 			clean_count = 0;
 		}
 		}
 
 
-		/* poll one pkt*/
+		/* poll one pkt */
 		err = hns_nic_poll_rx_skb(ring_data, &skb, &bnum);
 		err = hns_nic_poll_rx_skb(ring_data, &skb, &bnum);
 		if (unlikely(!skb)) /* this fault cannot be repaired */
 		if (unlikely(!skb)) /* this fault cannot be repaired */
 			goto out;
 			goto out;