[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428194957.GA51515@dcd913b51aa6>
Date: Wed, 29 Apr 2020 03:50:00 +0800
From: kbuild test robot <lkp@...el.com>
To: Yonghong Song <yhs@...com>, Andrii Nakryiko <andriin@...com>,
bpf@...r.kernel.org, Martin KaFai Lau <kafai@...com>,
netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>, kernel-team@...com
Subject: [RFC PATCH] bpf: __bpf_iter__netlink() can be static
Signed-off-by: kbuild test robot <lkp@...el.com>
---
af_netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index b6192cd668013..b8c9a87bd3960 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -2640,7 +2640,7 @@ struct bpf_iter__netlink {
__bpf_md_ptr(struct netlink_sock *, sk);
};
-int __init __bpf_iter__netlink(struct bpf_iter_meta *meta, struct netlink_sock *sk)
+static int __init __bpf_iter__netlink(struct bpf_iter_meta *meta, struct netlink_sock *sk)
{
return 0;
}
Powered by blists - more mailing lists