* [PATCH] s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS
@ 2023-05-05 22:39 Lukas Bulwahn
2023-05-06 1:57 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2023-05-05 22:39 UTC (permalink / raw)
To: Linus Torvalds, Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
Christian Borntraeger, Sven Schnelle, linux-s390
Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
Commit 0da6e5fd6c37 ("gcc: disable '-Warray-bounds' for gcc-13 too") makes
config GCC11_NO_ARRAY_BOUNDS to be for disabling -Warray-bounds in any gcc
version 11 and upwards, and with that, removes the GCC12_NO_ARRAY_BOUNDS
config as it is now covered by the semantics of GCC11_NO_ARRAY_BOUNDS.
As GCC11_NO_ARRAY_BOUNDS is yes by default, there is no need for the s390
architecture to explicitly select GCC11_NO_ARRAY_BOUNDS. Hence, the select
GCC12_NO_ARRAY_BOUNDS in arch/s390/Kconfig can simply be dropped.
Remove the unneeded "select GCC12_NO_ARRAY_BOUNDS".
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
Linus, as this is just a quick clean-up improvement to your commit
"gcc: disable '-Warray-bounds' for gcc-13 too", this can probably just
go directly to your tree.
arch/s390/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index beb62f744c61..db20c1589a98 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -133,7 +133,6 @@ config S390
select DYNAMIC_FTRACE if FUNCTION_TRACER
select FUNCTION_ALIGNMENT_8B if CC_IS_GCC
select FUNCTION_ALIGNMENT_16B if !CC_IS_GCC
- select GCC12_NO_ARRAY_BOUNDS
select GENERIC_ALLOCATOR
select GENERIC_CPU_AUTOPROBE
select GENERIC_CPU_VULNERABILITIES
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS
2023-05-05 22:39 [PATCH] s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS Lukas Bulwahn
@ 2023-05-06 1:57 ` Linus Torvalds
0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2023-05-06 1:57 UTC (permalink / raw)
To: Lukas Bulwahn
Cc: Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
Christian Borntraeger, Sven Schnelle, linux-s390, kernel-janitors,
linux-kernel
On Fri, May 5, 2023 at 3:39 PM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote:
>
> Linus, as this is just a quick clean-up improvement to your commit
> "gcc: disable '-Warray-bounds' for gcc-13 too", this can probably just
> go directly to your tree.
Done.
Linus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-06 1:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05 22:39 [PATCH] s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS Lukas Bulwahn
2023-05-06 1:57 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox