Vasily Gorbik
9acdb3bb07
s390/monwriter: fix gcc 8 stringop-truncation warning
...
The following gcc warning is issued for strncpy which is used to
deliberately avoid string NUL-termination. Reuse memcpy to avoid the
warning.
inlined from 'monwrite_diag' at drivers/s390/char/monwriter.c:64:2:
./include/linux/string.h:246:9: warning: '__builtin_strncpy' output
truncated before terminating nul copying 7 bytes from a string of the
same length [-Wstringop-truncation]
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-07-02 11:25:03 +02:00
..
2017-11-14 11:01:39 +01:00
2017-11-14 11:01:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 23:02:02 -07:00
2017-12-05 07:51:09 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-19 13:29:54 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 14:28:42 +01:00
2017-12-05 07:51:09 +01:00
2018-06-12 16:19:22 -07:00
2018-03-18 23:01:56 -07:00
2018-06-25 10:14:39 +02:00
2018-02-11 14:34:03 -08:00
2018-07-02 11:25:03 +02:00
2017-11-24 14:28:42 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 14:28:42 +01:00
2017-11-02 11:10:55 +01:00
2017-11-14 11:01:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-19 13:29:54 +02:00
2017-11-02 11:10:55 +01:00
2018-04-16 09:10:17 +02:00
2018-02-22 15:31:24 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 23:02:00 -07:00
2017-11-02 11:10:55 +01:00
2017-11-14 11:01:39 +01:00
2018-02-22 15:31:24 +01:00
2018-02-22 15:31:24 +01:00
2017-11-24 14:28:42 +01:00
2018-07-02 11:25:03 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-02 11:25:02 +02:00
2017-11-02 11:10:55 +01:00
2017-11-24 14:28:42 +01:00
2018-05-16 07:23:35 +02:00
2017-11-13 17:56:58 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 17:56:58 -08:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2018-04-19 13:29:54 +02:00
2017-11-24 14:28:42 +01:00
2018-06-12 16:19:22 -07:00
2017-11-13 11:47:01 -08:00
2018-06-12 16:19:22 -07:00