diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-12-31 17:30:46 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-01-15 13:43:59 +0100 |
commit | 433cbd57d190a1cdd02f243df41c3d7f55ec4b94 (patch) | |
tree | 8fa629daec768b8ce02448b2d1eedff4df4d98d0 /arch/parisc | |
parent | x86/irq: Do not use apic_chip_data.old_domain as temporary buffer (diff) | |
download | linux-433cbd57d190a1cdd02f243df41c3d7f55ec4b94.tar.xz linux-433cbd57d190a1cdd02f243df41c3d7f55ec4b94.zip |
x86/irq: Reorganize the return path in assign_irq_vector
Use an explicit goto for the cases where we have success in the search/update
and return -ENOSPC if the search loop ends due to no space.
Preparatory patch for fixes. No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Borislav Petkov <bp@alien8.de>
Tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Jeremiah Mahler <jmmahler@gmail.com>
Cc: andy.shevchenko@gmail.com
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org #4.3+
Link: http://lkml.kernel.org/r/20151231160106.403491024@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions