linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [[PATCH net-next]] net: core: xdp: make __mem_id_disconnect to be static
@ 2019-06-25 11:42 Ivan Khoronzhuk
  2019-06-25 22:22 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Khoronzhuk @ 2019-06-25 11:42 UTC (permalink / raw)
  To: netdev, davem; +Cc: xdp-newbies, linux-kernel, ast, hawk, Ivan Khoronzhuk

Add missed static for local __mem_id_disconnect().

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
---
 net/core/xdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/xdp.c b/net/core/xdp.c
index b29d7b513a18..829377cc83db 100644
--- a/net/core/xdp.c
+++ b/net/core/xdp.c
@@ -85,7 +85,7 @@ static void __xdp_mem_allocator_rcu_free(struct rcu_head *rcu)
 	kfree(xa);
 }
 
-bool __mem_id_disconnect(int id, bool force)
+static bool __mem_id_disconnect(int id, bool force)
 {
 	struct xdp_mem_allocator *xa;
 	bool safe_to_remove = true;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [[PATCH net-next]] net: core: xdp: make __mem_id_disconnect to be static
  2019-06-25 11:42 [[PATCH net-next]] net: core: xdp: make __mem_id_disconnect to be static Ivan Khoronzhuk
@ 2019-06-25 22:22 ` Song Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Song Liu @ 2019-06-25 22:22 UTC (permalink / raw)
  To: Ivan Khoronzhuk
  Cc: Networking, David S . Miller, xdp-newbies, open list,
	Alexei Starovoitov, hawk

On Tue, Jun 25, 2019 at 6:11 AM Ivan Khoronzhuk
<ivan.khoronzhuk@linaro.org> wrote:
>
> Add missed static for local __mem_id_disconnect().
>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>

https://patchwork.ozlabs.org/patch/1121730/

I guess you are a little late. :)

Please ack the other patch.

Song

> ---
>  net/core/xdp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/core/xdp.c b/net/core/xdp.c
> index b29d7b513a18..829377cc83db 100644
> --- a/net/core/xdp.c
> +++ b/net/core/xdp.c
> @@ -85,7 +85,7 @@ static void __xdp_mem_allocator_rcu_free(struct rcu_head *rcu)
>         kfree(xa);
>  }
>
> -bool __mem_id_disconnect(int id, bool force)
> +static bool __mem_id_disconnect(int id, bool force)
>  {
>         struct xdp_mem_allocator *xa;
>         bool safe_to_remove = true;
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-25 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 11:42 [[PATCH net-next]] net: core: xdp: make __mem_id_disconnect to be static Ivan Khoronzhuk
2019-06-25 22:22 ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).