summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-05-16 14:56:23 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-05-17 11:43:43 +0300
commitc1248638f8c35b74400efa7e02e78ecda23373f9 (patch)
tree943e044b9da44e3d0e5da6f7da39624c7ba61f16 /mm/mm_init.c
parentd890e6af50e44cf49766b3d25a45586d8485ef08 (diff)
downloadlinux-c1248638f8c35b74400efa7e02e78ecda23373f9.tar.xz
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 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions