From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [peterz-queue:perf/wip.rewrite 1/8] arch/s390/kernel/perf_pai_crypto.c:438:25: error: initialization of 'void (*)(struct perf_event_pmu_context *, bool)' {aka 'void (*)(struct perf_event_pmu_context *, _Bool)'} from incompatible pointer type 'void (*)(struct perf_event_context *, bool)' {ak...
Date: Fri, 26 Aug 2022 04:20:54 +0800 [thread overview]
Message-ID: <202208260405.2IwYS5s3-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/wip.rewrite
head: b149fd14e2fb487c8d8b07d353421101c33bbf2b
commit: 9cfa6ca70dab0951f2631f8baf29e1370925b4d6 [1/8] perf: Rewrite core context handling
config: s390-randconfig-r044-20220824 (https://download.01.org/0day-ci/archive/20220826/202208260405.2IwYS5s3-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=9cfa6ca70dab0951f2631f8baf29e1370925b4d6
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue perf/wip.rewrite
git checkout 9cfa6ca70dab0951f2631f8baf29e1370925b4d6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/s390/kernel/perf_pai_crypto.c:438:25: error: initialization of 'void (*)(struct perf_event_pmu_context *, bool)' {aka 'void (*)(struct perf_event_pmu_context *, _Bool)'} from incompatible pointer type 'void (*)(struct perf_event_context *, bool)' {aka 'void (*)(struct perf_event_context *, _Bool)'} [-Werror=incompatible-pointer-types]
438 | .sched_task = paicrypt_sched_task,
| ^~~~~~~~~~~~~~~~~~~
arch/s390/kernel/perf_pai_crypto.c:438:25: note: (near initialization for 'paicrypt.sched_task')
cc1: some warnings being treated as errors
vim +438 arch/s390/kernel/perf_pai_crypto.c
39d62336f5c126 Thomas Richter 2022-05-04 428
39d62336f5c126 Thomas Richter 2022-05-04 429 /* Performance monitoring unit for mapped counters */
39d62336f5c126 Thomas Richter 2022-05-04 430 static struct pmu paicrypt = {
39d62336f5c126 Thomas Richter 2022-05-04 431 .task_ctx_nr = perf_invalid_context,
39d62336f5c126 Thomas Richter 2022-05-04 432 .event_init = paicrypt_event_init,
39d62336f5c126 Thomas Richter 2022-05-04 433 .add = paicrypt_add,
39d62336f5c126 Thomas Richter 2022-05-04 434 .del = paicrypt_del,
39d62336f5c126 Thomas Richter 2022-05-04 435 .start = paicrypt_start,
39d62336f5c126 Thomas Richter 2022-05-04 436 .stop = paicrypt_stop,
39d62336f5c126 Thomas Richter 2022-05-04 437 .read = paicrypt_read,
39d62336f5c126 Thomas Richter 2022-05-04 @438 .sched_task = paicrypt_sched_task,
39d62336f5c126 Thomas Richter 2022-05-04 439 .attr_groups = paicrypt_attr_groups
39d62336f5c126 Thomas Richter 2022-05-04 440 };
39d62336f5c126 Thomas Richter 2022-05-04 441
:::::: The code at line 438 was first introduced by commit
:::::: 39d62336f5c126ad6dccdf66cd249f2d0e86d3c9 s390/pai: add support for cryptography counters
:::::: TO: Thomas Richter <tmricht@linux.ibm.com>
:::::: CC: Heiko Carstens <hca@linux.ibm.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-25 20:21 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=202208260405.2IwYS5s3-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.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®