Messages in this thread | | | Date | Thu, 13 Oct 2022 16:09:49 +0200 | From | Peter Zijlstra <> | Subject | Re: [peterz-queue:perf/core 5/6] arch/s390/kernel/perf_pai_ext.c:533: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 p |
| |
On Thu, Oct 13, 2022 at 09:49:06PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core > head: a7560340a5a83514ad5117aec2c770956e1813f3 > commit: aab8cdf010eb30b0214da37cb770b4f965637a97 [5/6] perf: Rewrite core context handling > config: s390-allmodconfig > 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=aab8cdf010eb30b0214da37cb770b4f965637a97 > git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git > git fetch --no-tags peterz-queue perf/core > git checkout aab8cdf010eb30b0214da37cb770b4f965637a97 > # 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/ > > 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_ext.c:533: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] > 533 | .sched_task = paiext_sched_task, > | ^~~~~~~~~~~~~~~~~
Simple matter of changing the function signature seems to cure things. I'll shortly push a new version.
| |