projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a21ac9
)
net: mvpp2: mvpp2_check_hw_buf_num() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Tue, 6 Mar 2018 05:05:06 +0000
(13:05 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 7 Mar 2018 17:21:45 +0000
(12:21 -0500)
Fixes: effbf5f58d64 ("net: mvpp2: update the BM buffer free/destroy logic")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvpp2.c
b/drivers/net/ethernet/marvell/mvpp2.c
index ac0a0dc8f157585d98667df40bf200b47835e47a..338c94d44aea62c7655346e298abea0c21e91eca 100644
(file)
--- a/
drivers/net/ethernet/marvell/mvpp2.c
+++ b/
drivers/net/ethernet/marvell/mvpp2.c
@@
-4295,7
+4295,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;