All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:x86/static_call 16/32] kernel/livepatch/core.c:255:1: warning: control reaches end of non-void function
@ 2019-10-21 17:23 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-21 17:23 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/static_call
head:   8f3191ff4626322b6f62d69ba2894bdae65a67b0
commit: e169d990b7363e4a5dc2d4970a45ddd030e5a64e [16/32] livepatch: Use text_poke() for relocations
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout e169d990b7363e4a5dc2d4970a45ddd030e5a64e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   kernel/livepatch/core.c: In function 'klp_apply_relocate_add':
>> kernel/livepatch/core.c:255:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +255 kernel/livepatch/core.c

   247	
   248	int __weak klp_apply_relocate_add(Elf64_Shdr *sechdrs,
   249				      const char *strtab,
   250				      unsigned int symindex,
   251				      unsigned int relsec,
   252				      struct module *me)
   253	{
   254		apply_relocate_add(sechdrs, strtab, symindex, relsec, me);
 > 255	}
   256	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70172 bytes --]

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

only message in thread, other threads:[~2019-10-21 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 17:23 [peterz-queue:x86/static_call 16/32] kernel/livepatch/core.c:255:1: warning: control reaches end of non-void function 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.