* [linux-review:UPDATE-20200516-195607/Jordan-Niethe/Initial-Prefixed-Instruction-support/20200506-171736 24/30] arch/powerpc/lib/code-patching.c:708:8: error: implicit declaration of function 'ppc_inst_prefix'; did you mean 'ppc_inst_read'?
@ 2020-05-16 13:26 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-16 13:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2584 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200516-195607/Jordan-Niethe/Initial-Prefixed-Instruction-support/20200506-171736
head: dae797aa7e7f8d885f42df4c29129e8135bc7b1c
commit: 31f742bb39071e0fddf791ddb8dc998312c5bca0 [24/30] powerpc: Test prefixed code patching
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 31f742bb39071e0fddf791ddb8dc998312c5bca0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/powerpc/lib/code-patching.c: In function 'test_prefixed_patching':
>> arch/powerpc/lib/code-patching.c:708:8: error: implicit declaration of function 'ppc_inst_prefix'; did you mean 'ppc_inst_read'? [-Werror=implicit-function-declaration]
708 | ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
| ^~~~~~~~~~~~~~~
| ppc_inst_read
>> arch/powerpc/lib/code-patching.c:708:24: error: 'OP_PREFIX' undeclared (first use in this function); did you mean 'FSCR_PREFIX'?
708 | ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
| ^~~~~~~~~
| FSCR_PREFIX
arch/powerpc/lib/code-patching.c:708:24: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
vim +708 arch/powerpc/lib/code-patching.c
699
700 #ifdef __powerpc64__
701 static void __init test_prefixed_patching(void)
702 {
703 extern unsigned int code_patching_test1[];
704 extern unsigned int code_patching_test1_expected[];
705 extern unsigned int end_code_patching_test1[];
706
707 __patch_instruction((struct ppc_inst *)code_patching_test1,
> 708 ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
709 (struct ppc_inst *)code_patching_test1);
710
711 check(!memcmp(code_patching_test1,
712 code_patching_test1_expected,
713 sizeof(unsigned int) *
714 (end_code_patching_test1 - code_patching_test1)));
715 }
716 #endif
717
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26147 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-16 13:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 13:26 [linux-review:UPDATE-20200516-195607/Jordan-Niethe/Initial-Prefixed-Instruction-support/20200506-171736 24/30] arch/powerpc/lib/code-patching.c:708:8: error: implicit declaration of function 'ppc_inst_prefix'; did you mean 'ppc_inst_read'? kbuild test robot
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.