From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jolsa-perf:bpf/missed_stats_3 1/7] include/linux/bpf.h:2650:13: error: 'bpf_prog_update_prog_stats' defined but not used
Date: Sat, 22 Jul 2023 04:31:19 +0800 [thread overview]
Message-ID: <202307220405.fwfaioXw-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/missed_stats_3
head: 903afc5b7a9fa7c9bff7f7dc86d955b637fb1fd9
commit: 04fef13e9772949ac2d598ed21fd26c6e43746ac [1/7] bpf: Move update_prog_stats to syscall object
config: sparc64-randconfig-r036-20230720 (https://download.01.org/0day-ci/archive/20230722/202307220405.fwfaioXw-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230722/202307220405.fwfaioXw-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307220405.fwfaioXw-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/filter.h:9,
from arch/sparc/kernel/sys_sparc32.c:29:
>> include/linux/bpf.h:2650:13: error: 'bpf_prog_update_prog_stats' defined but not used [-Werror=unused-function]
2650 | static void bpf_prog_update_prog_stats(struct bpf_prog *prog,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/bpf_prog_update_prog_stats +2650 include/linux/bpf.h
2649
> 2650 static void bpf_prog_update_prog_stats(struct bpf_prog *prog,
2651 u64 start)
2652 {
2653 }
2654
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-07-21 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 20:31 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-20 19:49 [jolsa-perf:bpf/missed_stats_3 1/7] include/linux/bpf.h:2650:13: error: 'bpf_prog_update_prog_stats' defined but not used kernel test robot
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=202307220405.fwfaioXw-lkp@intel.com \
--to=lkp@intel.com \
--cc=jolsa@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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.