# # 2024-07-29T12:36:41.148885 # # 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/mutex.h WRAP arch/mips/include/generated/asm/parport.h WRAP arch/mips/include/generated/asm/percpu.h WRAP arch/mips/include/generated/asm/preempt.h WRAP arch/mips/include/generated/asm/sections.h WRAP arch/mips/include/generated/asm/segment.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 HOSTCC scripts/selinux/mdp/mdp MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h 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/genksyms/lex.lex.o HOSTCC scripts/mod/file2alias.o HOSTLD scripts/genksyms/genksyms HOSTLD scripts/mod/modpost 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’: 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]; | ^~~~~~~~~~~ ../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 CC arch/mips/kernel/branch.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]; | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [../scripts/Makefile.build:280: arch/mips/kernel/cpu-probe.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../arch/mips/kernel/branch.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]; | ^~~~~~~~~~~ CC init/version.o CC kernel/fork.o LD init/mounts.o cc1: all warnings being treated as errors 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]; | ^~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:280: arch/mips/kernel/branch.o] Error 1 make[2]: *** [../scripts/Makefile.build:487: arch/mips/kernel] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1009: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... CC kernel/exec_domain.o 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ LD init/built-in.o CC kernel/panic.o CC kernel/cpu.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 ../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/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 CC kernel/resource.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’: 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]; | ^~~~~~~~~~~ ../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]; | ^~~~~~~~~~~ CC kernel/capability.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/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]; | ^~~~~~~~~~~ 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 CC kernel/user.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]; | ^~~~~~~~~~~ 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 CC kernel/sys.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/pid.o 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]; | ^~~~~~~~~~~ CC kernel/task_work.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/task_work.h:5, from ../kernel/task_work.c:2: ../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/extable.o CC kernel/params.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/ptrace.h:5, from ../include/linux/ftrace.h:13, from ../kernel/extable.c:18: ../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 ../kernel/params.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]; | ^~~~~~~~~~~ ../kernel/extable.c: In function ‘sort_main_extable’: ../kernel/extable.c:44:59: warning: comparison between two arrays [-Warray-compare] 44 | if (main_extable_sort_needed && __stop___ex_table > __start___ex_table) { | ^ ../kernel/extable.c:44:59: note: use ‘&__stop___ex_table[0] > &__start___ex_table[0]’ to compare the addresses CC kernel/kthread.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/kthread.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/sys_ni.o CC kernel/nsproxy.o CC kernel/notifier.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/nsproxy.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]; | ^~~~~~~~~~~ In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/ptrace.h:5, from ../include/linux/ftrace.h:13, from ../include/linux/kprobes.h:42, from ../kernel/notifier.c:2: ../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/ksysfs.o CC kernel/cred.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/compat.h:15, from ../include/linux/kexec.h:22, from ../kernel/ksysfs.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/reboot.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/cred.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/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 ../include/linux/kexec.h:22, from ../kernel/reboot.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]; | ^~~~~~~~~~~ CC kernel/async.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/async.c:56: ../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/range.o CC kernel/smpboot.o CC kernel/groups.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/smpboot.c:4: ../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/groups.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/bpf/core.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/compat.h:15, from ../include/linux/filter.h:10, from ../kernel/bpf/core.c:24: ../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/irq/irqdesc.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/irqdesc.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]; | ^~~~~~~~~~~ LD kernel/livepatch/built-in.o CC kernel/locking/semaphore.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/semaphore.c:31: ../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/irq/handle.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/handle.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/locking/percpu-rwsem.o LD kernel/bpf/built-in.o CC kernel/power/qos.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/percpu-rwsem.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/pm_qos.h:10, from ../kernel/power/qos.c:32: ../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/irq/manage.o CC kernel/locking/mutex.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/manage.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/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/mutex.c:22: ../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/power/main.o CC kernel/locking/rwsem.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/debugfs.h:18, from ../kernel/power/main.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]; | ^~~~~~~~~~~ In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/rwsem.c:9: ../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/irq/spurious.o CC kernel/locking/spinlock.o CC kernel/power/console.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/spurious.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 ../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/locking/spinlock.c:20: ../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 ../include/linux/tty.h:4, from ../include/linux/vt_kern.h:11, from ../kernel/power/console.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/locking/lglock.o CC kernel/irq/resend.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/locking/lglock.c:2: ../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 ../kernel/irq/resend.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/irq/chip.o CC kernel/power/process.o CC kernel/locking/rtmutex.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/chip.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/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/power/process.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/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/rtmutex.c:20: ../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/power/suspend.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/power/suspend.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/irq/dummychip.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 ../kernel/irq/dummychip.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/locking/rwsem-spinlock.o CC kernel/irq/devres.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/locking/rwsem-spinlock.c:9: ../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/power/poweroff.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/irq/devres.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]; | ^~~~~~~~~~~ LD kernel/locking/built-in.o LD kernel/power/built-in.o CC kernel/printk/printk.o CC kernel/rcu/update.o CC kernel/irq/generic-chip.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/printk/printk.c:20: ../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/rcu/update.c:38: ../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 ../kernel/irq/generic-chip.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/rcu/sync.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/rcu/sync.c:24: ../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/irq/autoprobe.o CC kernel/rcu/srcu.o In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/autoprobe.c:9: ../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 ../kernel/rcu/srcu.c:34: ../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/rcu/tree.o CC kernel/irq/irqdomain.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 ../kernel/rcu/tree.c:36: ../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 ../include/linux/debugfs.h:18, from ../kernel/irq/irqdomain.c:3: ../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]; | ^~~~~~~~~~~ LD kernel/printk/built-in.o CC kernel/sched/core.o CC kernel/irq/proc.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/sched/core.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/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/proc.c:9: ../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/irq/pm.o ../kernel/sched/core.c: In function ‘sched_init’: ../kernel/sched/core.c:7926:30: warning: the comparison will always evaluate as ‘false’ for the address of ‘cpu_isolated_map’ will never be NULL [-Waddress] 7926 | if (cpu_isolated_map == NULL) | ^~ ../kernel/sched/core.c:292:15: note: ‘cpu_isolated_map’ declared here 292 | cpumask_var_t cpu_isolated_map; | ^~~~~~~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/irq.h:17, from ../kernel/irq/pm.c:9: ../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]; | ^~~~~~~~~~~ LD kernel/irq/built-in.o CC kernel/time/time.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/syscalls.h:79, from ../kernel/time/time.c:36: ../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]; | ^~~~~~~~~~~ LD kernel/rcu/built-in.o CC kernel/sched/loadavg.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/sched.h:2, from ../kernel/sched/loadavg.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]; | ^~~~~~~~~~~ CC kernel/time/timer.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/time/timer.c:22: ../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/sched/clock.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 ../kernel/sched/clock.c:56: ../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/sched/cputime.o CC kernel/time/hrtimer.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/cputime.c:2: ../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/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/time/hrtimer.c:34: ../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/sched/idle_task.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/sched.h:2, from ../kernel/sched/idle_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 kernel/sched/fair.o CC kernel/sched/rt.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/fair.c:24: ../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 ../kernel/sched/sched.h:2, from ../kernel/sched/rt.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/time/itimer.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/time/itimer.c:9: ../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/time/posix-timers.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/time/posix-timers.c:33: ../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/sched/deadline.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/sched.h:2, from ../kernel/sched/deadline.c:17: ../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/time/posix-cpu-timers.o CC kernel/time/timekeeping.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/time/posix-cpu-timers.c:5: ../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 ../kernel/time/timekeeping.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/sched/stop_task.o CC kernel/time/ntp.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/sched.h:2, from ../kernel/sched/stop_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]; | ^~~~~~~~~~~ In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/kthread.h:5, from ../kernel/time/ntp.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/sched/wait.o CC kernel/time/clocksource.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/wait.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/time/jiffies.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../kernel/time/clocksource.c:28: ../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 ../kernel/time/jiffies.c:25: ../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/time/timer_list.o CC kernel/time/timeconv.o CC kernel/sched/swait.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/time/timer_list.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/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/time/timeconv.c:31: ../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 ../kernel/sched/swait.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 kernel/time/timecounter.o CC kernel/time/posix-clock.o CC kernel/time/alarmtimer.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/rtc.h:16, from ../kernel/time/alarmtimer.c:21: ../include/linux/mmzone.h: In function ‘__nr_to_section’: In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../kernel/time/posix-clock.c:20: ../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]; | ^~~~~~~~~~~ ../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/sched/swork.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/kthread.h:5, from ../kernel/sched/swork.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]; | ^~~~~~~~~~~ CC kernel/sched/completion.o CC kernel/freezer.o CC kernel/time/clockevents.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/completion.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]; | ^~~~~~~~~~~ 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/freezer.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/time/clockevents.c:17: ../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/sched/idle.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/idle.c:4: ../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/futex.o CC kernel/time/tick-common.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/compat.h:15, from ../kernel/futex.c:47: ../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/sched/cpupri.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/time/tick-common.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../kernel/sched/cpupri.c:30: ../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/sched/cpudeadline.o In file included from ../include/linux/gfp.h:5, from ../kernel/sched/cpudeadline.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/time/sched_clock.o CC kernel/sched/auto_group.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/time/sched_clock.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/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/sched/sched.h:2, from ../kernel/sched/auto_group.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 kernel/time/tick-oneshot.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/time/tick-oneshot.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/time/tick-sched.o CC kernel/dma.o LD kernel/sched/built-in.o CC kernel/smp.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/time/tick-sched.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]; | ^~~~~~~~~~~ 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/seq_file.h:10, from ../kernel/dma.c:17: ../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 ../kernel/smp.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/module.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../include/linux/moduleloader.h:5, from ../kernel/module.c:20: ../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/kallsyms.o CC kernel/time/timekeeping_debug.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../kernel/kallsyms.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/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../include/linux/debugfs.h:18, from ../kernel/time/timekeeping_debug.c:17: ../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]; | ^~~~~~~~~~~ LD kernel/time/built-in.o CC kernel/acct.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/acct.c:46: ../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/kexec_core.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/kexec_core.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/kexec.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/kexec.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/compat.o CC kernel/cgroup.o CC kernel/cpuset.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/compat.h:15, from ../kernel/compat.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/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/cgroup.h:11, from ../kernel/cgroup.c:31: ../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/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/cpuset.c:25: ../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/stop_machine.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/cpu.h:16, from ../kernel/stop_machine.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/audit.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../kernel/audit.c:50: ../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/auditfilter.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/audit.h:26, from ../kernel/auditfilter.c:25: ../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/seccomp.o CC kernel/relay.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../kernel/relay.c:17: ../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/audit.h:26, from ../kernel/seccomp.c:17: ../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/utsname_sysctl.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/utsname.h:5, from ../kernel/utsname_sysctl.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/delayacct.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../kernel/delayacct.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/taskstats.o CC kernel/tsacct.o CC kernel/irq_work.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/taskstats_kern.h:11, from ../kernel/taskstats.c:20: ../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 ../kernel/tsacct.c:20: ../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 ../kernel/irq_work.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/membarrier.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/syscalls.h:79, from ../kernel/membarrier.c:17: ../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/memremap.o In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../kernel/memremap.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]; | ^~~~~~~~~~~ LD kernel/built-in.o make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'