]> git.baikalelectronics.ru Git - kernel.git/commit
s390: remove WARN_DYNAMIC_STACK
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Sep 2021 12:41:35 +0000 (14:41 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 15 Sep 2021 12:29:21 +0000 (14:29 +0200)
commit0902cd0d42bb6757bda19a39f4a64c8881ea10e8
treefc82b203ea7eb6903609bfab1133f54259867e0b
parent41c9b20e7eb4b16d6f8138e508a4b4cc68010539
s390: remove WARN_DYNAMIC_STACK

s390 is the only architecture which allows to set the
-mwarn-dynamicstack compile option. This however will also always
generate a warning with system call stack randomization, which uses
alloca to generate some random sized stack frame.

On the other hand Linus just enabled "-Werror" by default with commit
13d0907b5ba0 ("Enable '-Werror' by default for all kernel builds"),
which means compiles will always fail by default.

So instead of playing once again whack-a-mole for something which is
s390 specific, simply remove this option.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/Kconfig
arch/s390/Makefile