diff options
author | Dan Carpenter | 2023-11-28 09:52:41 +0300 |
---|---|---|
committer | Juergen Gross | 2023-11-28 12:48:27 +0100 |
commit | 7f3da4b698bcc21a6df0e7f114af71d53a3e26ac (patch) | |
tree | eae4e7556135ed22cbf6d916bb17eec28f68586f /arch | |
parent | db2832309a82b9acc4b8cc33a1831d36507ec13e (diff) |
xen/events: fix error code in xen_bind_pirq_msi_to_irq()
Return -ENOMEM if xen_irq_init() fails. currently the code returns an
uninitialized variable or zero.
Fixes: 5dd9ad32d775 ("xen/events: drop xen_allocate_irqs_dynamic()")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Juergen Gross <jgross@ssue.com>
Link: https://lore.kernel.org/r/3b9ab040-a92e-4e35-b687-3a95890a9ace@moroto.mountain
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions