# # 2024-09-30T11:01:12.960656 # # 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 MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/selinux/mdp/mdp 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/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 CC init/do_mounts_rd.o HOSTCC usr/gen_init_cpio 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/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/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/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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC init/initramfs.o CC init/calibrate.o CC init/init_task.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 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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.... CC init/version.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]; | ^~~~~~~~~~~ LD init/mounts.o CC arch/mips/loongson64/common/setup.o cc1: all warnings being treated as errors 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[2]: *** Waiting for unfinished jobs.... CC arch/mips/loongson64/common/init.o CC arch/mips/loongson64/common/cmdline.o LD init/built-in.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/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]; | ^~~~~~~~~~~ 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/cmdline.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/common/init.o] Error 1 cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/common/setup.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/irq.o CC arch/mips/loongson64/loongson-3/cop2-ex.o LD certs/built-in.o CC kernel/fork.o 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/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]; | ^~~~~~~~~~~ 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 mm/filemap.o cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/loongson-3/cop2-ex.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CC mm/mempool.o cc1: all warnings being treated as errors make[4]: *** [../scripts/Makefile.build:280: arch/mips/loongson64/loongson-3/irq.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:1014: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... CC mm/oom_kill.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 ../mm/filemap.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/mm.h:9, from ../mm/mempool.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 ../include/linux/oom.h:5, from ../mm/oom_kill.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 mm/maccess.o CC mm/page_alloc.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/maccess.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/mm.h:9, from ../mm/page_alloc.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]; | ^~~~~~~~~~~ CC mm/page-writeback.o CC kernel/exec_domain.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 ../mm/page-writeback.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 ../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]; | ^~~~~~~~~~~ CC mm/readahead.o In file included from ../include/linux/gfp.h:5, from ../mm/readahead.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/panic.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]; | ^~~~~~~~~~~ CC mm/swap.o CC kernel/cpu.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/swap.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/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 mm/truncate.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/backing-dev.h:12, from ../mm/truncate.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/exit.o CC mm/vmscan.o CC mm/shmem.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/vmscan.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/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../mm/shmem.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 mm/util.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/util.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 mm/mmzone.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/mmzone.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 mm/vmstat.o CC kernel/softirq.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 ../mm/vmstat.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 ../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 mm/backing-dev.o CC mm/mm_init.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/backing-dev.h:12, from ../mm/backing-dev.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/device.h:29, from ../include/linux/node.h:17, from ../include/linux/memory.h:18, from ../mm/mm_init.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/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 mm/mmu_context.o CC mm/percpu.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/mmu_context.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/bootmem.h:7, from ../mm/percpu.c:57: ../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 mm/slab_common.o CC mm/compaction.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../mm/slab_common.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/swap.h:6, from ../mm/compaction.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/sysctl.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 mm/vmacache.o CC mm/interval_tree.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../mm/vmacache.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 mm/list_lru.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/interval_tree.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 mm/workingset.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../mm/list_lru.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/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/cgroup.h:11, from ../include/linux/memcontrol.h:22, from ../mm/workingset.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 mm/debug.o CC kernel/sysctl_binary.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/debug.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 mm/gup.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]; | ^~~~~~~~~~~ CC mm/highmem.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/gup.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/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/highmem.c:19: ../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 mm/memory.o CC mm/mincore.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 ../mm/memory.c:41: ../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 ../include/linux/pagemap.h:7, from ../mm/mincore.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/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 mm/mlock.o CC mm/mmap.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../include/linux/mman.h:4, from ../mm/mlock.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/gfp.h:5, from ../include/linux/slab.h:14, from ../mm/mmap.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 mm/mprotect.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/mprotect.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 mm/mremap.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/mremap.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 mm/msync.o CC kernel/user.o CC mm/rmap.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/rmap.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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 ../mm/msync.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/signal.o CC mm/vmalloc.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 ../mm/vmalloc.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/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 mm/pagewalk.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/pagewalk.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 mm/pgtable-generic.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../include/linux/pagemap.h:7, from ../mm/pgtable-generic.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 mm/process_vm_access.o CC kernel/kmod.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/process_vm_access.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/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 mm/init-mm.o CC kernel/pid.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/nsproxy.h:5, from ../include/linux/user_namespace.h:5, from ../mm/init-mm.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 mm/bootmem.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../mm/bootmem.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/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 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]; | ^~~~~~~~~~~ CC mm/fadvise.o CC kernel/params.o CC kernel/kthread.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 ../mm/fadvise.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/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]; | ^~~~~~~~~~~ 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 mm/madvise.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../include/linux/mman.h:4, from ../mm/madvise.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 mm/memblock.o In file included from ../include/linux/gfp.h:5, from ../include/linux/slab.h:14, from ../mm/memblock.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/sys_ni.o CC kernel/nsproxy.o CC kernel/notifier.o CC kernel/ksysfs.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]; | ^~~~~~~~~~~ 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 mm/page_io.o CC kernel/cred.o CC kernel/reboot.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/page_io.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/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 mm/swap_state.o CC kernel/range.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/swap_state.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/smpboot.o CC kernel/groups.o 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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 mm/swapfile.o CC kernel/irq/irqdesc.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/swapfile.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]; | ^~~~~~~~~~~ LD kernel/livepatch/built-in.o CC kernel/locking/semaphore.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ LD kernel/bpf/built-in.o CC kernel/power/qos.o 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/locking/percpu-rwsem.o 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/locking/mutex.o 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/irq/manage.o CC kernel/power/main.o CC mm/dmapool.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/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/gfp.h:5, from ../include/linux/device.h:29, from ../mm/dmapool.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/locking/rwsem.o 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/power/console.o CC mm/sparse.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/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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/sparse.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/locking/spinlock.o CC kernel/irq/spurious.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/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/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]; | ^~~~~~~~~~~ CC kernel/irq/resend.o CC mm/ksm.o 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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/ksm.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]; | ^~~~~~~~~~~ CC kernel/power/process.o CC kernel/locking/lglock.o CC kernel/irq/chip.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/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/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/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]; | ^~~~~~~~~~~ CC kernel/locking/rtmutex.o CC kernel/power/suspend.o 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]; | ^~~~~~~~~~~ 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 CC mm/slub.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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/slub.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/power/poweroff.o CC kernel/irq/devres.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/power/built-in.o CC kernel/irq/generic-chip.o CC kernel/locking/rwsem-spinlock.o 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]; | ^~~~~~~~~~~ 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/irq/autoprobe.o LD kernel/locking/built-in.o CC kernel/irq/irqdomain.o CC mm/migrate.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/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]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../include/linux/migrate.h:4, from ../mm/migrate.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]; | ^~~~~~~~~~~ CC kernel/irq/proc.o CC kernel/printk/printk.o 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/irq/pm.o 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]; | ^~~~~~~~~~~ CC mm/page_counter.o CC kernel/rcu/update.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../mm/page_counter.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/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]; | ^~~~~~~~~~~ CC mm/memcontrol.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/cgroup.h:11, from ../include/linux/memcontrol.h:22, from ../mm/memcontrol.c:35: ../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/sched/core.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]; | ^~~~~~~~~~~ LD kernel/printk/built-in.o CC kernel/rcu/sync.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; | ^~~~~~~~~~~~~~~~ CC kernel/time/time.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/rcu/srcu.o 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/time/timer.o CC kernel/rcu/tree.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/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 mm/vmpressure.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/cgroup.h:11, from ../mm/vmpressure.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]; | ^~~~~~~~~~~ CC kernel/sched/loadavg.o CC mm/swap_cgroup.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]; | ^~~~~~~~~~~ In file included from ../include/linux/swap.h:6, from ../include/linux/swap_cgroup.h:4, from ../mm/swap_cgroup.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/clock.o CC mm/frame_vector.o CC kernel/time/hrtimer.o LD kernel/rcu/built-in.o CC kernel/freezer.o In file included from ../include/linux/gfp.h:5, from ../include/linux/mm.h:9, from ../mm/frame_vector.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/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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/sched/cputime.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]; | ^~~~~~~~~~~ LD mm/built-in.o CC kernel/sched/idle_task.o CC kernel/sched/fair.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/sched/rt.o CC kernel/time/itimer.o CC kernel/time/posix-timers.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/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]; | ^~~~~~~~~~~ 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’: 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]; | ^~~~~~~~~~~ ../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 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]; | ^~~~~~~~~~~ CC kernel/time/timekeeping.o CC kernel/time/ntp.o 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]; | ^~~~~~~~~~~ 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/time/clocksource.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]; | ^~~~~~~~~~~ CC kernel/time/jiffies.o 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/sched/deadline.o CC kernel/time/timer_list.o CC kernel/sched/stop_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/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]; | ^~~~~~~~~~~ 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/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]; | ^~~~~~~~~~~ CC kernel/sched/wait.o CC kernel/time/timeconv.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/sched/swait.o 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/sched/swork.o CC kernel/time/timecounter.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/time/posix-clock.o CC kernel/time/alarmtimer.o 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]; | ^~~~~~~~~~~ CC kernel/sched/completion.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’: ../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 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/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/idle.o CC kernel/time/clockevents.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/sched/cpupri.o 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]; | ^~~~~~~~~~~ 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/time/tick-common.o CC kernel/sched/cpudeadline.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/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/dma.o CC kernel/sched/auto_group.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/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/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/smp.o CC kernel/module.o CC kernel/time/sched_clock.o 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/time/tick-oneshot.o LD kernel/sched/built-in.o CC kernel/kallsyms.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/acct.o CC kernel/time/tick-sched.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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ 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/time/timekeeping_debug.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/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]; | ^~~~~~~~~~~ CC kernel/compat.o LD kernel/time/built-in.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]; | ^~~~~~~~~~~ CC kernel/stop_machine.o 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]; | ^~~~~~~~~~~ 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 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/relay.o CC kernel/utsname_sysctl.o CC kernel/delayacct.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/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]; | ^~~~~~~~~~~ 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 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]; | ^~~~~~~~~~~ CC kernel/tsacct.o CC kernel/irq_work.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/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]; | ^~~~~~~~~~~ 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]; | ^~~~~~~~~~~ CC kernel/membarrier.o CC kernel/memremap.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]; | ^~~~~~~~~~~ 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'