lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208232327.zwWddqnN-lkp@intel.com>
Date:   Tue, 23 Aug 2022 23:34:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [peterz-queue:perf/wip.rewrite 1/6]
 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...

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/wip.rewrite
head:   9fdadc761cf0e02e39e42d39c6d0f4a64c05ce8b
commit: d3f415f72634827910cebbcc645c828c78725fa0 [1/6] perf: Rewrite core context handling
config: s390-randconfig-r036-20220823
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=d3f415f72634827910cebbcc645c828c78725fa0
        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 d3f415f72634827910cebbcc645c828c78725fa0
        # 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 arch/s390/kernel/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.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@...ux.ibm.com>
:::::: CC: Heiko Carstens <hca@...ux.ibm.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (165269 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ