# # 2024-07-27T10:33:46.760810 # # make KBUILD_BUILD_USER=KernelCI ARCH=mips HOSTCC=gcc CROSS_COMPILE=mips-linux-gnu- CC="ccache mips-linux-gnu-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 vmlinuz # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/mips/include/generated/asm/cputime.h WRAP arch/mips/include/generated/asm/current.h WRAP arch/mips/include/generated/asm/dma-contiguous.h WRAP arch/mips/include/generated/asm/emergency-restart.h WRAP arch/mips/include/generated/asm/irq_work.h WRAP arch/mips/include/generated/asm/local64.h WRAP arch/mips/include/generated/asm/mcs_spinlock.h WRAP arch/mips/include/generated/asm/mm-arch-hooks.h WRAP arch/mips/include/generated/asm/parport.h WRAP arch/mips/include/generated/asm/mutex.h WRAP arch/mips/include/generated/asm/percpu.h WRAP arch/mips/include/generated/asm/preempt.h WRAP arch/mips/include/generated/asm/segment.h WRAP arch/mips/include/generated/asm/sections.h WRAP arch/mips/include/generated/asm/serial.h WRAP arch/mips/include/generated/asm/trace_clock.h WRAP arch/mips/include/generated/asm/user.h WRAP arch/mips/include/generated/asm/word-at-a-time.h WRAP arch/mips/include/generated/asm/xor.h WRAP arch/mips/include/generated/uapi/asm/ipcbuf.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/fixdep Using .. as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/mod/sumversion.o HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash SHIPPED scripts/genksyms/parse.tab.c SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/sortextable HOSTCC scripts/mod/file2alias.o HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/mod/modpost HOSTLD scripts/genksyms/genksyms Checking missing-syscalls for N32 CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/mips/kernel/asm-offsets.s In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../include/linux/compat.h:15, from ../arch/mips/kernel/asm-offsets.c:11: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh Checking missing-syscalls for O32 CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o UPD include/generated/compile.h HOSTCC usr/gen_init_cpio CC init/do_mounts_rd.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/main.c:15: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/do_mounts.c:11: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../init/do_mounts_rd.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o CC init/do_mounts_initrd.o CC arch/mips/kernel/cpu-probe.o In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../init/do_mounts_initrd.c:13: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/ptrace.h:5, from ../arch/mips/kernel/cpu-probe.c:16: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC init/initramfs.o CC init/calibrate.o In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../init/initramfs.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC init/init_task.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/utsname.h:5, from ../include/linux/init_task.h:6, from ../init/init_task.c:1: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC arch/mips/loongson64/common/setup.o cc1: all warnings being treated as errors make[3]: *** [../scripts/Makefile.build:280: arch/mips/kernel/cpu-probe.o] Error 1 make[2]: *** [../scripts/Makefile.build:487: arch/mips/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... CC arch/mips/loongson64/common/init.o CC arch/mips/loongson64/common/cmdline.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../arch/mips/loongson64/common/setup.c:10: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/bootmem.h:7, from ../arch/mips/loongson64/common/init.c:11: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/common/setup.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CC init/version.o cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/common/init.o] Error 1 In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../arch/mips/include/asm/mach-loongson64/loongson.h:16, from ../arch/mips/loongson64/common/cmdline.c:22: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ LD init/mounts.o CC arch/mips/loongson64/loongson-3/irq.o cc1: all warnings being treated as errors CC arch/mips/loongson64/loongson-3/cop2-ex.o make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/common/cmdline.o] Error 1 make[3]: *** [../scripts/Makefile.build:487: arch/mips/loongson64/common] Error 2 make[3]: *** Waiting for unfinished jobs.... CC arch/mips/loongson64/loongson-3/platform.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/version.c:10: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../arch/mips/include/asm/mach-loongson64/loongson.h:16, from ../arch/mips/loongson64/loongson-3/irq.c:1: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../arch/mips/loongson64/loongson-3/platform.c:14: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../arch/mips/loongson64/loongson-3/cop2-ex.c:14: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/loongson-3/platform.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/loongson-3/irq.o] Error 1 cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/loongson-3/cop2-ex.o] Error 1 make[3]: *** [../scripts/Makefile.build:487: arch/mips/loongson64/loongson-3] Error 2 make[2]: *** [../scripts/Makefile.build:487: arch/mips/loongson64] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1009: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... LD init/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../kernel/exec_domain.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../include/asm-generic/hardirq.h:12, from ../arch/mips/include/asm/hardirq.h:16, from ../include/linux/hardirq.h:8, from ../include/linux/interrupt.h:12, from ../kernel/panic.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/fork.c:14: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/cpu.o In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../include/linux/proc_fs.h:8, from ../kernel/cpu.c:6: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ ../kernel/cpu.c: In function ‘notify_cpu_starting’: ../kernel/cpu.c:1061:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘frozen_cpus’ will never be NULL [-Waddress] 1061 | if (frozen_cpus != NULL && cpumask_test_cpu(cpu, frozen_cpus)) | ^~ ../kernel/cpu.c:906:22: note: ‘frozen_cpus’ declared here 906 | static cpumask_var_t frozen_cpus; | ^~~~~~~~~~~ CC kernel/exit.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/exit.c:7: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/softirq.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../include/asm-generic/hardirq.h:12, from ../arch/mips/include/asm/hardirq.h:16, from ../include/linux/hardirq.h:8, from ../include/linux/interrupt.h:12, from ../include/linux/kernel_stat.h:8, from ../kernel/softirq.c:14: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/resource.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/resource.c:16: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/sysctl.o CC kernel/sysctl_binary.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/sysctl.c:21: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/syscalls.h:79, from ../kernel/sysctl_binary.c:6: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/capability.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/audit.h:26, from ../kernel/capability.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/ptrace.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/ptrace.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/user.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/user.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/signal.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/signal.c:13: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/sys.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/sys.c:8: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/kmod.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/kmod.c:21: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC kernel/workqueue.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/workqueue.c:29: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/kernel.h:12, from ../kernel/workqueue.c:28: ../kernel/workqueue.c: In function ‘pwq_adjust_max_active’: ../kernel/workqueue.c:3377:49: error: ‘flags’ undeclared (first use in this function) 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~ ../include/linux/typecheck.h:10:16: note: in definition of macro ‘typecheck’ 10 | typeof(x) __dummy2; \ | ^ ../kernel/workqueue.c:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c:3377:49: note: each undeclared identifier is reported only once for each function it appears in 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~ ../include/linux/typecheck.h:10:16: note: in definition of macro ‘typecheck’ 10 | typeof(x) __dummy2; \ | ^ ../kernel/workqueue.c:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:11:25: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:207:17: note: in expansion of macro ‘typecheck’ 207 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../kernel/workqueue.c:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:11:25: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:245:17: note: in expansion of macro ‘typecheck’ 245 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../kernel/workqueue.c:3407:9: note: in expansion of macro ‘raw_spin_unlock_irqrestore’ 3407 | raw_spin_unlock_irqrestore(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘show_workqueue_state’: ../kernel/workqueue.c:4419:25: error: implicit declaration of function ‘touch_nmi_watchdog’ [-Werror=implicit-function-declaration] 4419 | touch_nmi_watchdog(); | ^~~~~~~~~~~~~~~~~~ CC kernel/pid.o cc1: some warnings being treated as errors make[2]: *** [../scripts/Makefile.build:280: kernel/workqueue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/pid.c:29: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'