original_kernel/drivers/s390/crypto
Heiko Carstens c1248638f8 s390/zcrypt: Use kvcalloc() instead of kvmalloc_array()
sparse warns about a large memset() call within
zcrypt_device_status_mask_ext():

drivers/s390/crypto/zcrypt_api.c:1303:15: warning: memset with byte count of 262144

Get rid of this warning by making sure that all callers of this function
allocate memory with __GFP_ZERO, which zeroes memory already at allocation
time, which again allows to remove the memset() call.

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2024-05-17 10:43:43 +02:00
..
Makefile
ap_bus.c
ap_bus.h
ap_card.c
ap_debug.h
ap_queue.c
pkey_api.c
vfio_ap_debug.h
vfio_ap_drv.c
vfio_ap_ops.c
vfio_ap_private.h
zcrypt_api.c
zcrypt_api.h
zcrypt_card.c
zcrypt_cca_key.h
zcrypt_ccamisc.c
zcrypt_ccamisc.h
zcrypt_cex2a.c
zcrypt_cex2a.h
zcrypt_cex2c.c
zcrypt_cex2c.h
zcrypt_cex4.c
zcrypt_cex4.h
zcrypt_debug.h
zcrypt_ep11misc.c
zcrypt_ep11misc.h
zcrypt_error.h
zcrypt_msgtype6.c
zcrypt_msgtype6.h
zcrypt_msgtype50.c
zcrypt_msgtype50.h
zcrypt_queue.c