]> git.baikalelectronics.ru Git - kernel.git/commit
s390/sclp: disable FORTIFY_SOURCE for early sclp code
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 13 Dec 2017 08:21:59 +0000 (09:21 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 13 Dec 2017 15:57:02 +0000 (16:57 +0100)
commitf5569d41e9dcf97e8377f002edb7939c2728c253
treea2191cf80334f5f96d65e78e92253ac266859591
parent07d976a73dd2da526535b550a2216b73057b9991
s390/sclp: disable FORTIFY_SOURCE for early sclp code

Michal Suchánek reported the following compile error with
FORTIFY_SOURCE enabled:

drivers/s390/char/sclp_early_core.o: In function `memcpy':
include/linux/string.h:340: undefined reference to `fortify_panic'

To fix this simply disable FORTIFY_SOURCE on the early sclp code as
well, which I forgot on the initial commit.

Fixes: febb6fde5040 ("s390: add support for FORTIFY_SOURCE")
Reported-by: Michal Suchánek <msuchanek@suse.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/Makefile