Skip to content

Commit c12753d

Browse files
bulwahntorvalds
authored andcommitted
s390: remove the unneeded select GCC12_NO_ARRAY_BOUNDS
Commit 0da6e5f ("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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 418d5c9 commit c12753d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/s390/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ config S390
133133
select DYNAMIC_FTRACE if FUNCTION_TRACER
134134
select FUNCTION_ALIGNMENT_8B if CC_IS_GCC
135135
select FUNCTION_ALIGNMENT_16B if !CC_IS_GCC
136-
select GCC12_NO_ARRAY_BOUNDS
137136
select GENERIC_ALLOCATOR
138137
select GENERIC_CPU_AUTOPROBE
139138
select GENERIC_CPU_VULNERABILITIES

0 commit comments

Comments
 (0)