tree:
https://github.com/linuxppc/linux next-test
head: 77ba1e2abc7474c5321cbf8d90366ec69150d0a2
commit: 74407339b3acb99f37b303e489d7c85676e52ce8 [159/170] powerpc/lib/code-patching: Set
up Strict RWX patching earlier
config: powerpc64-randconfig-r011-20210620 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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://github.com/linuxppc/linux/commit/74407339b3acb99f37b303e489d7c856...
git remote add linuxppc
https://github.com/linuxppc/linux
git fetch --no-tags linuxppc next-test
git checkout 74407339b3acb99f37b303e489d7c85676e52ce8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/powerpc/lib/code-patching.c:76:12: warning: no previous
prototype for 'poking_init' [-Wmissing-prototypes]
76 | int __init
poking_init(void)
| ^~~~~~~~~~~
vim +/poking_init +76 arch/powerpc/lib/code-patching.c
70
71 /*
72 * Although BUG_ON() is rude, in this case it should only happen if ENOMEM, and
73 * we judge it as being preferable to a kernel that will crash later when
74 * someone tries to use patch_instruction().
75 */
76 int __init poking_init(void)
77 {
78 BUG_ON(!cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
79 "powerpc/text_poke:online", text_area_cpu_up,
80 text_area_cpu_down));
81
82 return 0;
83 }
84
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org