tree:
https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-client-tip
head: 57349dbe54433697c5b96bd5d8b5bd7499754d2b
commit: bff2b25349cea6367257853486654a37611438ad [41/76] x86/sev-es: Setup early #VC
handler
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
ed6b578040a85977026c93bf4188f996148f3218)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout bff2b25349cea6367257853486654a37611438ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/x86/kernel/idt.c:430:13: warning: no previous prototype for
function 'early_idt_setup' [-Wmissing-prototypes]
void __init
early_idt_setup(unsigned long physbase)
^
arch/x86/kernel/idt.c:430:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void __init early_idt_setup(unsigned long physbase)
^
static
1 warning generated.
vim +/early_idt_setup +430 arch/x86/kernel/idt.c
429
430 void __init early_idt_setup(unsigned long physbase)
431 {
432 void __maybe_unused *handler;
433 gate_desc *idt;
434
435 idt = fixup_pointer(idt_table, physbase);
436
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org