All of lore.kernel.org
 help / color / mirror / Atom feed
* [yyu168-linux_cet:cet 30/47] arch/x86/include/asm/fpu/internal.h:483:19: error: 'save_cet_to_sigframe' declared 'static' but never defined
@ 2020-04-29 12:27 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-29 12:27 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/yyu168/linux_cet.git cet
head:   80138cab012f983a4395ac70e3804739eaff02eb
commit: 0087ee9f497dcb2ae98a00a0b6c95994848c9943 [30/47] x86/cet/shstk: Handle signals for shadow stack
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 0087ee9f497dcb2ae98a00a0b6c95994848c9943
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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 arch/x86/kvm/x86.c:66:0:
   arch/x86/include/asm/fpu/internal.h:485:1: error: expected identifier or '(' before '{' token
    {
    ^
>> arch/x86/include/asm/fpu/internal.h:483:19: error: 'save_cet_to_sigframe' declared 'static' but never defined [-Werror=unused-function]
    static inline int save_cet_to_sigframe(int ia32, void __user *fp,
                      ^~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +483 arch/x86/include/asm/fpu/internal.h

   478	
   479	#ifdef CONFIG_X86_INTEL_CET
   480	extern int save_cet_to_sigframe(int ia32, void __user *fp,
   481					unsigned long restorer);
   482	#else
 > 483	static inline int save_cet_to_sigframe(int ia32, void __user *fp,
   484					unsigned long restorer);
   485	{
   486		return 0;
   487	}
   488	#endif
   489	extern int copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);
   490	

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 12:27 [yyu168-linux_cet:cet 30/47] arch/x86/include/asm/fpu/internal.h:483:19: error: 'save_cet_to_sigframe' 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.