linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* page_alloc.c comparison of arrays warning in function mem_init_print_info
@ 2021-11-19 11:00 Arthur Marsh
  2021-11-19 14:47 ` Song Xiongwei
  0 siblings, 1 reply; 3+ messages in thread
From: Arthur Marsh @ 2021-11-19 11:00 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

Hi, when seeing what build issues there were in building the current Linux git head kernel using gcc-12, I came across:

CC      mm/page_alloc.o
mm/page_alloc.c: In function ‘mem_init_print_info’:
mm/page_alloc.c:8173:27: error: comparison between two arrays [-Werror=array-compare]
 8173 |                 if (start <= pos && pos < end && size > adj) \
      |                           ^~

Are there any patches that address this? 

Regards, 

Arthur. 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-20 10:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 11:00 page_alloc.c comparison of arrays warning in function mem_init_print_info Arthur Marsh
2021-11-19 14:47 ` Song Xiongwei
2021-11-20 10:05   ` Arthur Marsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox