commit | 5e663f0410fa2f355042209154029842ba1abd43 | [log] [tgz] |
---|---|---|
author | Ihor Matushchak <ihor.matushchak@foobox.net> | Tue Jul 02 17:48:18 2019 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Jul 11 16:22:29 2019 -0400 |
tree | 7e977bbddad567428fc006bb0bb18a011e696792 | |
parent | 211f70ff1daa3b3bb877f0f6fa85a42ef50f8341 [diff] |
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>