All of lore.kernel.org
 help / color / mirror / Atom feed
* [jpoimboe:livepatch-rwx 6/6] include/linux/livepatch.h:254:1: error: expected identifier or '(' before '{' token
@ 2020-04-08 16:12 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-08 16:12 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1492 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git livepatch-rwx
head:   40a7e5dcb0631f57d6efcd647a78618b4fc4c32f
commit: 40a7e5dcb0631f57d6efcd647a78618b4fc4c32f [6/6] todo
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 40a7e5dcb0631f57d6efcd647a78618b4fc4c32f
        # save the attached .config to linux build tree
        make ARCH=i386 

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:0,
                    from init/init_task.c:2:
>> include/linux/livepatch.h:254:1: error: expected identifier or '(' before '{' token
    {
    ^
   include/linux/livepatch.h:250:5: warning: 'klp_write_relocations' declared 'static' but never defined [-Wunused-function]
    int klp_write_relocations(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
        ^~~~~~~~~~~~~~~~~~~~~

vim +254 include/linux/livepatch.h

   248	
   249	static inline
   250	int klp_write_relocations(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
   251				  const char *shstrtab, const char *strtab,
   252				  unsigned int symindex, struct module *pmod,
   253				  const char *objname);
 > 254	{
   255		return 0;
   256	}
   257	

---
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: 7271 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-08 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 16:12 [jpoimboe:livepatch-rwx 6/6] include/linux/livepatch.h:254:1: error: expected identifier or '(' before '{' token 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.