From: Arthur Marsh <arthur.marsh@internode.on.net>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org
Subject: page_alloc.c comparison of arrays warning in function mem_init_print_info
Date: Fri, 19 Nov 2021 21:30:03 +1030 [thread overview]
Message-ID: <D0C12B0D-8A0A-47A1-B0C6-D8C50B38E7F5@internode.on.net> (raw)
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.
next reply other threads:[~2021-11-19 11:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 11:00 Arthur Marsh [this message]
2021-11-19 14:47 ` Song Xiongwei
2021-11-20 10:05 ` Arthur Marsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D0C12B0D-8A0A-47A1-B0C6-D8C50B38E7F5@internode.on.net \
--to=arthur.marsh@internode.on.net \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox