diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-05-16 13:56:23 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-05-17 10:43:43 +0200 |
commit | c1248638f8c35b74400efa7e02e78ecda23373f9 (patch) | |
tree | 943e044b9da44e3d0e5da6f7da39624c7ba61f16 /block/Kconfig | |
parent | d890e6af50e44cf49766b3d25a45586d8485ef08 (diff) |
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>
Diffstat (limited to 'block/Kconfig')
0 files changed, 0 insertions, 0 deletions