diff options
| author | Jing Zhang | 2017-07-18 03:49:25 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2017-07-25 09:17:42 +0200 |
| commit | 28e22d4baed2d10d8ed0640d05e054fecfc71286 (patch) | |
| tree | 38918bf76afba5d92dba8eef7390e5ffe249c710 /scripts/checkpatch.pl | |
| parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170724'... (diff) | |
| download | qemu-28e22d4baed2d10d8ed0640d05e054fecfc71286.tar.gz qemu-28e22d4baed2d10d8ed0640d05e054fecfc71286.tar.xz qemu-28e22d4baed2d10d8ed0640d05e054fecfc71286.zip | |
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 <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Jing Zhang <bjzhjing@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170718014926.44781-2-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
