android_kernel_oneplus_msm8998/drivers/xen
Boris Ostrovsky 009aa1cd67 xen: Remove unnecessary BUG_ON from __unbind_from_irq()
commit eef04c7b3786ff0c9cb1019278b6c6c2ea0ad4ff upstream.

Commit 910f8befdf5b ("xen/pirq: fix error path cleanup when binding
MSIs") fixed a couple of errors in error cleanup path of
xen_bind_pirq_msi_to_irq(). This cleanup allowed a call to
__unbind_from_irq() with an unbound irq, which would result in
triggering the BUG_ON there.

Since there is really no reason for the BUG_ON (xen_free_irq() can
operate on unbound irqs) we can remove it.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: stable@vger.kernel.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:21:34 +02:00
..
events xen: Remove unnecessary BUG_ON from __unbind_from_irq() 2018-07-03 11:21:34 +02:00
xen-pciback xen/pciback: Fix conf_space read/write overlap check. 2016-08-10 11:49:26 +02:00
xenbus xen: xenbus: use put_device() instead of kfree() 2018-05-30 07:49:04 +02:00
xenfs xen: xensyms support 2015-08-20 12:24:25 +01:00
acpi.c
balloon.c xen/balloon: Fix declared-but-not-defined warning 2016-07-27 09:47:36 -07:00
biomerge.c xen: fix bio vec merging 2017-08-24 17:02:36 -07:00
cpu_hotplug.c xen, cpu_hotplug: call device_offline instead of cpu_down 2015-10-23 14:20:48 +01:00
dbgp.c
efi.c
evtchn.c xen/evtchn: fix ring resize when binding new events 2016-05-11 11:21:15 +02:00
fallback.c
features.c
gntalloc.c Merge branch 'akpm' (patches from Andrew) 2015-09-10 18:19:42 -07:00
gntdev.c xen/gntdev: Fix partial gntdev_mmap() cleanup 2018-03-03 10:19:45 +01:00
grant-table.c xen/grant-table: Use put_page instead of free_page 2018-05-30 07:48:56 +02:00
Kconfig xen: XEN_ACPI_PROCESSOR is Dom0-only 2018-02-25 11:03:41 +01:00
Makefile xen/arm: Enable cpu_hotplug.c 2015-10-23 14:20:47 +01:00
manage.c xen: don't print error message in case of missing Xenstore entry 2017-11-08 10:06:30 +01:00
mcelog.c
pci.c xen/pci: Try harder to get PXM information for Xen 2015-04-15 10:57:28 +01:00
pcpu.c
platform-pci.c
preempt.c xen/preempt: use need_resched() instead of should_resched() 2015-08-20 12:24:14 +01:00
privcmd.c xen/privcmd: Support correctly 64KB page granularity when mapping memory 2017-06-14 13:16:22 +02:00
privcmd.h
swiotlb-xen.c xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent 2018-05-30 07:48:51 +02:00
sys-hypervisor.c xen/PMU: Sysfs interface for setting Xen PMU mode 2015-08-20 12:24:26 +01:00
tmem.c xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn 2015-09-08 18:03:52 +01:00
xen-acpi-cpuhotplug.c Xen / ACPI / processor: Remove unneeded NULL check 2015-05-13 23:28:15 +02:00
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c xen/acpi: off by one in read_acpi_id() 2018-05-30 07:49:09 +02:00
xen-balloon.c
xen-scsiback.c xen/scsiback: correct frontend counting 2016-03-03 15:07:30 -08:00
xen-selfballoon.c
xen-stub.c
xlate_mmu.c xen/privcmd: Add support for Linux 64KB page granularity 2015-10-23 14:20:42 +01:00