[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231122144814.649823ac@canb.auug.org.au>
Date: Wed, 22 Nov 2023 14:48:14 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build warnings after merge of the kspp-gustavo tree
Hi all,
After merging the kspp-gustavo tree, today's linux-next build (sparc64
defconfig) produced these warnings:
mm/mempolicy.c: In function 'mpol_parse_str':
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:3005:29: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3005 | *--nodelist = ':';
| ~~~~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:3005:29: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3005 | *--nodelist = ':';
| ~~~~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
mm/mempolicy.c:3007:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3007 | *--flags = '=';
| ~~~~~~~~~^~~~~
mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807]
2890 | int mpol_parse_str(char *str, struct mempolicy **mpol)
| ~~~~~~^~~
This is using gcc v11.1.0
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists