diff options
author | Ihor Matushchak | 2019-07-02 16:48:18 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2019-07-11 22:22:29 +0200 |
commit | 5e663f0410fa2f355042209154029842ba1abd43 (patch) | |
tree | 7e977bbddad567428fc006bb0bb18a011e696792 /lib/bsearch.c | |
parent | scsi: virtio_scsi: Use struct_size() helper (diff) | |
download | kernel-qcow2-linux-5e663f0410fa2f355042209154029842ba1abd43.tar.gz kernel-qcow2-linux-5e663f0410fa2f355042209154029842ba1abd43.tar.xz kernel-qcow2-linux-5e663f0410fa2f355042209154029842ba1abd43.zip |
virtio-mmio: add error check for platform_get_irq
in vm_find_vqs() irq has a wrong type
so, in case of no IRQ resource defined,
wrong parameter will be passed to request_irq()
Signed-off-by: Ihor Matushchak <ihor.matushchak@foobox.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ivan T. Ivanov <iivanov.xz@gmail.com>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions