summaryrefslogtreecommitdiff
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-13 11:32:22 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-10-31 00:21:46 +0200
commit668866b6e8dffa5583d8694f1d8ddd89a8bee745 (patch)
treeca54a952922680beec7b2a132b71a2cd4815af7b /crypto/pcrypt.c
parent3dae2c6152fbbc6224343551158b61aad585cedf (diff)
downloadlinux-668866b6e8dffa5583d8694f1d8ddd89a8bee745.tar.gz
linux-668866b6e8dffa5583d8694f1d8ddd89a8bee745.tar.xz
virtio_blk: Use kmalloc_array() in init_vq()
Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions