]> Git Repo - qemu.git/commit - hw/vfio/ccw.c
vfio/ccw: allocate irq info with the right size
authorJing Zhang <[email protected]>
Tue, 18 Jul 2017 01:49:25 +0000 (03:49 +0200)
committerCornelia Huck <[email protected]>
Tue, 25 Jul 2017 07:17:42 +0000 (09:17 +0200)
commit28e22d4baed2d10d8ed0640d05e054fecfc71286
tree38918bf76afba5d92dba8eef7390e5ffe249c710
parentb5a74cd81d76cb467552f38f2b39520d07c65ea2
vfio/ccw: allocate irq info with the right size

When allocating memory for the vfio_irq_info parameter of the
VFIO_DEVICE_GET_IRQ_INFO ioctl, we used the wrong size. Let's
fix it by using the right size.

Reviewed-by: Dong Jia Shi <[email protected]>
Signed-off-by: Jing Zhang <[email protected]>
Signed-off-by: Dong Jia Shi <[email protected]>
Message-Id: <20170718014926[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/vfio/ccw.c
This page took 0.024384 seconds and 4 git commands to generate.