Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
- Loading branch information