diff mbox series

[RFC,linux-next] net: mvpp2: mvpp2_check_hw_buf_num() can be static

Message ID 20180306050506.GA35183@xian
State Accepted, archived
Delegated to: David Miller
Headers show
Series [RFC,linux-next] net: mvpp2: mvpp2_check_hw_buf_num() can be static | expand

Commit Message

kbuild test robot March 6, 2018, 5:05 a.m. UTC
Fixes: effbf5f58d64 ("net: mvpp2: update the BM buffer free/destroy logic")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 mvpp2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller March 7, 2018, 5:23 p.m. UTC | #1
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 6 Mar 2018 13:05:06 +0800

> Fixes: effbf5f58d64 ("net: mvpp2: update the BM buffer free/destroy logic")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c
index c7b8093..c360430 100644
--- a/drivers/net/ethernet/marvell/mvpp2.c
+++ b/drivers/net/ethernet/marvell/mvpp2.c
@@ -4285,7 +4285,7 @@  static void mvpp2_bm_bufs_free(struct device *dev, struct mvpp2 *priv,
 }
 
 /* Check number of buffers in BM pool */
-int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool)
+static int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool)
 {
 	int buf_num = 0;