All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:x86/static_call 6/20] arch/x86//kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
@ 2020-02-20  1:39 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-20  1:39 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/static_call
head:   f38daaa9cd85e31cea3428ec7e6fb34494b9ffb1
commit: 38dce05be15011e90b99c8eb9cfde4852c7c21ec [6/20] x86/int3: Ensure that poke_int3_handler() is not sanitized
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout 38dce05be15011e90b99c8eb9cfde4852c7c21ec
        # 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 errors (new ones prefixed by >>):

   arch/x86//kernel/alternative.c: In function 'patch_cmp':
>> arch/x86//kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
    static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
                                 ^~~~~~~~~~~~~~
   arch/x86//kernel/alternative.c:986:12: note: called from here
     if (key < text_poke_addr(tp))
               ^~~~~~~~~~~~~~~~~~
>> arch/x86//kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
    static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
                                 ^~~~~~~~~~~~~~
   arch/x86//kernel/alternative.c:988:12: note: called from here
     if (key > text_poke_addr(tp))
               ^~~~~~~~~~~~~~~~~~

vim +/text_poke_addr +977 arch/x86//kernel/alternative.c

c0213b0ac03cf6 Daniel Bristot de Oliveira 2019-06-12  976  
d70760978f4ffc Thomas Gleixner            2020-01-21 @977  static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
4531ef6a8aaf13 Peter Zijlstra             2019-10-09  978  {
4531ef6a8aaf13 Peter Zijlstra             2019-10-09  979  	return _stext + tp->rel_addr;
4531ef6a8aaf13 Peter Zijlstra             2019-10-09  980  }
4531ef6a8aaf13 Peter Zijlstra             2019-10-09  981  

:::::: The code at line 977 was first introduced by commit
:::::: d70760978f4ffc95cb205827a6f91176829718ea x86/int3: Ensure that poke_int3_handler() is not traced

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Peter Zijlstra <peterz@infradead.org>

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

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

only message in thread, other threads:[~2020-02-20  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20  1:39 [peterz-queue:x86/static_call 6/20] arch/x86//kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch 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.