* [joe-lawrence:jp-v2-klp-convert 39/39] include/linux/livepatch.h:261:5: error: 'klp_apply_section_relocs' declared 'static' but never defined
@ 2020-04-23 18:20 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-23 18:20 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]
tree: https://github.com/joe-lawrence/linux jp-v2-klp-convert
head: bc4dfb0c05af65bd8ba9009dcef6181ea26077ff
commit: bc4dfb0c05af65bd8ba9009dcef6181ea26077ff [39/39] JP (squash) modify klp-relocation API slightly to apply section at a time
config: powerpc-holly_defconfig (attached as .config)
compiler: powerpc-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 bc4dfb0c05af65bd8ba9009dcef6181ea26077ff
# 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 >>):
In file included from include/linux/init_task.h:20,
from arch/powerpc/kernel/process.c:28:
include/linux/livepatch.h:265:1: error: expected identifier or '(' before '{' token
265 | {
| ^
>> include/linux/livepatch.h:261:5: error: 'klp_apply_section_relocs' declared 'static' but never defined [-Werror=unused-function]
261 | int klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs,
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +261 include/linux/livepatch.h
259
260 static inline
> 261 int klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs,
262 const char *shstrtab, const char *strtab,
263 unsigned int symindex, unsigned int secindex,
264 const char *objname);
265 {
266 return 0;
267 }
268
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 14512 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-23 18:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 18:20 [joe-lawrence:jp-v2-klp-convert 39/39] include/linux/livepatch.h:261:5: error: 'klp_apply_section_relocs' declared 'static' but never defined 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.