linux_dsm_epyc7002/drivers/s390/crypto
Vasily Gorbik a09baa9543 s390/crypto: 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 'query_crypto_facility.constprop' at
    drivers/s390/crypto/pkey_api.c:702:2:
./include/linux/string.h:246:9: warning: '__builtin_strncpy' output
truncated before terminating nul copying 8 bytes from a string of the
same length [-Wstringop-truncation]

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-07-16 15:45:36 +02:00
..
ap_bus.c s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h. 2018-06-25 10:21:18 +02:00
ap_bus.h s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h. 2018-06-25 10:21:18 +02:00
ap_card.c s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h. 2018-06-25 10:21:18 +02:00
ap_debug.h s390/zcrypt: Make ap init functions static. 2018-04-10 07:39:01 +02:00
ap_queue.c s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h. 2018-06-25 10:21:18 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pkey_api.c s390/crypto: fix gcc 8 stringop-truncation warning 2018-07-16 15:45:36 +02:00
zcrypt_api.c s390/zcrypt: Fix CCA and EP11 CPRB processing failure memory leak. 2018-05-30 11:18:05 +02:00
zcrypt_api.h s390/zcrypt: Support up to 256 crypto adapters. 2018-04-11 10:36:27 +02:00
zcrypt_card.c s390/zcrypt: Show load of cards and queues in sysfs 2018-06-25 10:21:17 +02:00
zcrypt_cca_key.h s390/zcrypt: add copy_from_user length plausibility checks 2018-07-02 11:24:55 +02:00
zcrypt_cex2a.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cex2a.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cex4.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 14:28:39 +01:00
zcrypt_cex4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_error.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype6.c s390/zcrypt: add copy_from_user length plausibility checks 2018-07-02 11:24:55 +02:00
zcrypt_msgtype6.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype50.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype50.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_pcixcc.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_pcixcc.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_queue.c s390/zcrypt: Show load of cards and queues in sysfs 2018-06-25 10:21:17 +02:00