All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH ast] bpf: bpf_trampoline_image_alloc() can be static
Date: Sat, 13 Mar 2021 11:12:07 +0800	[thread overview]
Message-ID: <20210313031207.GA7522@19ffa3b5cd8d> (raw)
In-Reply-To: <202103131127.9qW7wv57-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]


Fixes: d0953e3c28d7 ("bpf: Fix fexit trampoline.")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 trampoline.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/bpf/trampoline.c b/kernel/bpf/trampoline.c
index 112b33f3f51cd..ad68ea6db642c 100644
--- a/kernel/bpf/trampoline.c
+++ b/kernel/bpf/trampoline.c
@@ -196,7 +196,7 @@ static void bpf_trampoline_image_put(struct bpf_trampoline_image *im)
 	call_rcu_tasks_trace(&im->rcu, __bpf_trampoline_image_put_rcu);
 }
 
-struct bpf_trampoline_image *bpf_trampoline_image_alloc(u64 key, u32 idx)
+static struct bpf_trampoline_image *bpf_trampoline_image_alloc(u64 key, u32 idx)
 {
 	struct bpf_trampoline_image *im;
 	struct bpf_ksym *ksym;

      reply	other threads:[~2021-03-13  3:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-13  3:11 [ast:fexit_fix 2/2] kernel/bpf/trampoline.c:199:29: sparse: sparse: symbol 'bpf_trampoline_image_alloc' was not declared. Should it be kernel test robot
2021-03-13  3:12 ` 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=20210313031207.GA7522@19ffa3b5cd8d \
    --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.