Heiko Carstens 13cf06d57f s390/zcrypt: use kvmalloc_array() instead of kzalloc()
zcrypt_unlocked_ioctl() allocates 256k with kzalloc() which is likely to
fail if memory is fragmented. To avoid that use kvmalloc_array() instead,
like it is done at several other places for the same reason.

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-06-28 13:57:09 +02:00
..
2023-04-30 11:43:31 -07:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00
2022-04-25 13:54:14 +02:00