summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/samsung/sxgbe
diff options
context:
space:
mode:
authorYang Shen <shenyang39@huawei.com>2021-05-17 07:45:30 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-18 00:12:39 +0300
commit61633d71a71c4bcc27f43c9020fcb15137de6dd5 (patch)
tree2832673721e281f577189e9e35560afe5a3fc5ab /drivers/net/ethernet/samsung/sxgbe
parent9f2e6fb6341349f1ec4565a055669bf4ac14e321 (diff)
downloadlinux-61633d71a71c4bcc27f43c9020fcb15137de6dd5.tar.xz
net: samsung: sxgbe: Fix wrong function name in comments
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:797: warning: expecting prototype for sxgbe_tx_clean(). Prototype was for sxgbe_tx_all_clean() instead drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1026: warning: expecting prototype for sxgbe_init_tx_coalesce(). Prototype was for sxgbe_tx_init_coalesce() instead Cc: Byungho An <bh74.an@samsung.com> Signed-off-by: Yang Shen <shenyang39@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/samsung/sxgbe')
-rw-r--r--drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
index 971f1e54b652..090bcd2fb758 100644
--- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
+++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
@@ -789,7 +789,7 @@ static void sxgbe_tx_queue_clean(struct sxgbe_tx_queue *tqueue)
}
/**
- * sxgbe_tx_clean:
+ * sxgbe_tx_all_clean:
* @priv: driver private structure
* Description: it reclaims resources after transmission completes.
*/
@@ -1015,7 +1015,7 @@ static void sxgbe_tx_timer(struct timer_list *t)
}
/**
- * sxgbe_init_tx_coalesce: init tx mitigation options.
+ * sxgbe_tx_init_coalesce: init tx mitigation options.
* @priv: driver private structure
* Description:
* This inits the transmit coalesce parameters: i.e. timer rate,