FYI: Just caught this trying a re-compile of kernel 5.15.2 from kernel org, under debbootstrap/sbuild and qemu-system-m68k both produce this issue:
CC mm/process_vm_access.o CC mm/page_alloc.o mm/page_alloc.c: In function ‘mem_init_print_info’: mm/page_alloc.c:8163:27: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8167:9: note: in expansion of macro ‘adj_init_size’ 8167 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: note: use ‘&__init_begin[0] <= &_sinittext[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8167:9: note: in expansion of macro ‘adj_init_size’ 8167 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8167:9: note: in expansion of macro ‘adj_init_size’ 8167 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: note: use ‘&_sinittext[0] < &__init_end[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8167:9: note: in expansion of macro ‘adj_init_size’ 8167 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8169:9: note: in expansion of macro ‘adj_init_size’ 8169 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: note: use ‘&_stext[0] <= &_sinittext[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8169:9: note: in expansion of macro ‘adj_init_size’ 8169 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8169:9: note: in expansion of macro ‘adj_init_size’ 8169 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: note: use ‘&_sinittext[0] < &_etext[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8169:9: note: in expansion of macro ‘adj_init_size’ 8169 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8170:9: note: in expansion of macro ‘adj_init_size’ 8170 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: note: use ‘&_sdata[0] <= &__init_begin[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8170:9: note: in expansion of macro ‘adj_init_size’ 8170 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8170:9: note: in expansion of macro ‘adj_init_size’ 8170 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: note: use ‘&__init_begin[0] < &_edata[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8170:9: note: in expansion of macro ‘adj_init_size’ 8170 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8171:9: note: in expansion of macro ‘adj_init_size’ 8171 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: note: use ‘&_stext[0] <= &__start_rodata[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8171:9: note: in expansion of macro ‘adj_init_size’ 8171 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8171:9: note: in expansion of macro ‘adj_init_size’ 8171 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: note: use ‘&__start_rodata[0] < &_etext[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8171:9: note: in expansion of macro ‘adj_init_size’ 8171 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8172:9: note: in expansion of macro ‘adj_init_size’ 8172 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:27: note: use ‘&_sdata[0] <= &__start_rodata[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:8172:9: note: in expansion of macro ‘adj_init_size’ 8172 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: warning: comparison between two arrays [-Warray-compare] 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8172:9: note: in expansion of macro ‘adj_init_size’ 8172 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:8163:41: note: use ‘&__start_rodata[0] < &_edata[0]’ to compare the addresses 8163 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:8172:9: note: in expansion of macro ‘adj_init_size’ 8172 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ CC mm/init-mm.o CC mm/memblock.o -- Stephen - Vk3heg