aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2023-06-21 10:31:23 +0200
committerAlexander Gordeev <[email protected]>2023-06-28 13:57:09 +0200
commit13cf06d57fa8d2313d53ac19fbc8f1f7c751a4c4 (patch)
treed07749fd59ad2240dceda46cde58613a0c18fe08 /tools/perf/util/trace-event-scripting.c
parent0dd0bbc2003a33a0e4705f8eec6ba6535b1e49d1 (diff)
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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions