From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 412/2356] kernel/bpf/core.c:63:6: warning: no previous prototype for 'bpf_jit_dump'
Date: Tue, 19 Apr 2022 13:14:05 +0800 [thread overview]
Message-ID: <202204191314.hODCBp24-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: af93551cf39027d176f30b9beafc60a4c130998a
commit: 4957b437f054fb9fde9c6bc4a7dae4459ee37f13 [412/2356] headers/uninline: Uninline multi-use function: bpf_jit_dump()
config: x86_64-randconfig-a002-20220418 (https://download.01.org/0day-ci/archive/20220419/202204191314.hODCBp24-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=4957b437f054fb9fde9c6bc4a7dae4459ee37f13
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 4957b437f054fb9fde9c6bc4a7dae4459ee37f13
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/ arch/x86/pci/ crypto/ drivers/bus/mhi/host/ drivers/regulator/ fs/crypto/ kernel/bpf/ lib/crypto/ net/bpf/ sound/soc/codecs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> kernel/bpf/core.c:63:6: warning: no previous prototype for 'bpf_jit_dump' [-Wmissing-prototypes]
63 | void bpf_jit_dump(unsigned int flen, unsigned int proglen, u32 pass, void *image)
| ^~~~~~~~~~~~
kernel/bpf/core.c:1655:12: warning: no previous prototype for 'bpf_probe_read_kernel' [-Wmissing-prototypes]
1655 | u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/bpf_jit_dump +63 kernel/bpf/core.c
62
> 63 void bpf_jit_dump(unsigned int flen, unsigned int proglen, u32 pass, void *image)
64 {
65 pr_err("flen=%u proglen=%u pass=%u image=%pK from=%s pid=%d\n", flen,
66 proglen, pass, image, current->comm, task_pid_nr(current));
67
68 if (image)
69 print_hex_dump(KERN_ERR, "JIT code: ", DUMP_PREFIX_OFFSET,
70 16, 1, image, proglen, false);
71 }
72
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-19 5:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202204191314.hODCBp24-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®