All of lore.kernel.org
 help / color / mirror / Atom feed
* [dvyukov:dvyukov-rseq-pkey 1/3] arch/x86/kernel/process.c:270:2: error: call to undeclared function 'pkru_write_default'; ISO C99 and later do not support implicit function declarations
@ 2025-02-16 14:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-16 14:08 UTC (permalink / raw)
  To: Dmitry Vyukov; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/dvyukov/linux dvyukov-rseq-pkey
head:   1063b1cd65e97d1ec20c1e016f8d4414d1c40df8
commit: 963efc053e92eb50c830ad41445a77e8607b5d98 [1/3] pkeys: add API to switch to permissive pkey register
config: i386-buildonly-randconfig-003-20250216 (https://download.01.org/0day-ci/archive/20250216/202502162255.fYDLueTx-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250216/202502162255.fYDLueTx-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502162255.fYDLueTx-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/process.c:270:2: error: call to undeclared function 'pkru_write_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     270 |         pkru_write_default();
         |         ^
   1 error generated.
--
>> arch/x86/kernel/fpu/core.c:706:2: error: call to undeclared function 'pkru_write_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     706 |         pkru_write_default();
         |         ^
   1 error generated.
--
>> arch/x86/kernel/cpu/common.c:534:2: error: call to undeclared function 'pkru_write_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     534 |         pkru_write_default();
         |         ^
   1 error generated.


vim +/pkru_write_default +270 arch/x86/kernel/process.c

2fff071d28b54f Thomas Gleixner 2019-11-11  263  
33344368cb08f8 Andy Lutomirski 2021-06-23  264  static void pkru_flush_thread(void)
33344368cb08f8 Andy Lutomirski 2021-06-23  265  {
33344368cb08f8 Andy Lutomirski 2021-06-23  266  	/*
33344368cb08f8 Andy Lutomirski 2021-06-23  267  	 * If PKRU is enabled the default PKRU value has to be loaded into
33344368cb08f8 Andy Lutomirski 2021-06-23  268  	 * the hardware right here (similar to context switch).
33344368cb08f8 Andy Lutomirski 2021-06-23  269  	 */
33344368cb08f8 Andy Lutomirski 2021-06-23 @270  	pkru_write_default();
33344368cb08f8 Andy Lutomirski 2021-06-23  271  }
33344368cb08f8 Andy Lutomirski 2021-06-23  272  

:::::: The code at line 270 was first introduced by commit
:::::: 33344368cb08f8d6bf55a32aa052318d3a69ea84 x86/fpu: Clean up the fpu__clear() variants

:::::: TO: Andy Lutomirski <luto@kernel.org>
:::::: CC: Borislav Petkov <bp@suse.de>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-02-16 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-16 14:08 [dvyukov:dvyukov-rseq-pkey 1/3] arch/x86/kernel/process.c:270:2: error: call to undeclared function 'pkru_write_default'; ISO C99 and later do not support implicit function declarations kernel 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.