On Mon, Mar 14, 2022 at 03:48:12PM +0530, Naresh Kamboju wrote: > Linux next-20220310 i386 build failed due to below warnings / errors. > > CC arch/x86/kernel/resource.o > In file included from arch/x86/kernel/resource.c:4:0: > arch/x86/include/asm/pci_x86.h:105:8: error: unknown type name 'raw_spinlock_t' I don't know what to do with this. It works for me: $ gsr 71941773e143 ("Add linux-next specific files for 20220310") $ ARCH=i386 make defconfig $ ARCH=i386 make arch/x86/kernel/resource.o ... CC arch/x86/kernel/resource.o $ echo $? 0 What config did you use? How can I reproduce this? > extern raw_spinlock_t pci_config_lock; > ^~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:141:20: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'dmi_check_pciprobe' > extern void __init dmi_check_pciprobe(void); > ^~~~~~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:142:20: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'dmi_check_skip_isa_align' > extern void __init dmi_check_skip_isa_align(void); > ^~~~~~~~~~~~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:146:19: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pci_acpi_init' > extern int __init pci_acpi_init(void); > ^~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:153:20: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pcibios_irq_init' > extern void __init pcibios_irq_init(void); > ^~~~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:154:19: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pcibios_init' > extern int __init pcibios_init(void); > ^~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:174:19: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pci_mmcfg_arch_init' > extern int __init pci_mmcfg_arch_init(void); > ^~~~~~~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:175:20: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pci_mmcfg_arch_free' > extern void __init pci_mmcfg_arch_free(void); > ^~~~~~~~~~~~~~~~~~~ > arch/x86/include/asm/pci_x86.h:182:40: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'pci_mmconfig_add' > extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start, > ^~~~~~~~~~~~~~~~ > CC net/core/filter.o > make[2]: *** [scripts/Makefile.build:288: arch/x86/kernel/resource.o] Error 1 > > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> > > > -- > Linaro LKFT > https://lkft.linaro.org > [1] https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=intel-core2-32,label=docker-buster-lkft/1207/consoleText