From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] bpf: bpf_get_skb_hash_proto can be static
Date: Wed, 12 Aug 2020 19:07:15 +0800 [thread overview]
Message-ID: <20200812110715.GA41999@02b660684ad6> (raw)
In-Reply-To: <20200810182841.10953-1-harshitha.ramamurthy@intel.com>
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
Signed-off-by: kernel test robot <lkp@intel.com>
---
filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/filter.c b/net/core/filter.c
index 9f6ad7209b448..85b741884443b 100644
--- a/net/core/filter.c
+++ b/net/core/filter.c
@@ -3806,7 +3806,7 @@ BPF_CALL_1(bpf_get_skb_hash, struct xdp_buff *, xdp)
return ret;
}
-const struct bpf_func_proto bpf_get_skb_hash_proto = {
+static const struct bpf_func_proto bpf_get_skb_hash_proto = {
.func = bpf_get_skb_hash,
.gpl_only = false,
.ret_type = RET_INTEGER,
prev parent reply other threads:[~2020-08-12 11:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 18:28 [RFC PATCH bpf-next] bpf: add bpf_get_skb_hash helper function Harshitha Ramamurthy
2020-08-10 19:02 ` David Ahern
2020-08-12 20:18 ` Ramamurthy, Harshitha
[not found] ` <MW3PR11MB45220E877ED544FEBC1FF01885450@MW3PR11MB4522.namprd11.prod.outlook.com>
2020-08-12 21:13 ` David Ahern
2020-08-12 11:07 ` kernel test robot
2020-08-12 11:07 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200812110715.GA41999@02b660684ad6 \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.