diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-13 11:32:22 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-10-31 00:21:46 +0200 |
commit | 668866b6e8dffa5583d8694f1d8ddd89a8bee745 (patch) | |
tree | ca54a952922680beec7b2a132b71a2cd4815af7b /crypto/blkcipher.c | |
parent | 3dae2c6152fbbc6224343551158b61aad585cedf (diff) | |
download | linux-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/blkcipher.c')
0 files changed, 0 insertions, 0 deletions