summaryrefslogtreecommitdiffstats
path: root/arch/m68k/Makefile
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-28 13:28:37 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 11:25:03 +0200
commit276d605081fbbc96be02318abb36119625b47bb3 (patch)
treec40d43e8ad1a74cf50d5e7c19715721848d158f1 /arch/m68k/Makefile
parent5d2f6e26b318a41e4e588bb270377da13b78b3c8 (diff)
downloadlinux-276d605081fbbc96be02318abb36119625b47bb3.tar.bz2
s390/tape: fix gcc 8 stringop-truncation warning
Replace strncpy which is used to deliberately avoid string NUL-termination with memcpy. This allows to get rid of gcc 8 stringop-truncation warning: inlined from 'ext_to_int_kekl' at drivers/s390/char/tape_3590.c:123:2: ./include/linux/string.h:246:9: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] Also replaces "for" loop on memset. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/m68k/Makefile')
0 files changed, 0 insertions, 0 deletions