summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/sysfb.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-12-31 16:30:46 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-03 15:07:31 -0800
commitf6e9ce2b061408d16ba052e6d7612b4660dbc1c8 (patch)
treefb710e82029b9f7439b542ca9cae86c8060106e5 /arch/x86/kernel/sysfb.c
parentcf2e82af2d53bf7894911a9a11fa2fdf0d17ab91 (diff)
x86/irq: Reorganize the return path in assign_irq_vector
commit 433cbd57d190a1cdd02f243df41c3d7f55ec4b94 upstream. 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> Link: http://lkml.kernel.org/r/20151231160106.403491024@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/sysfb.c')
0 files changed, 0 insertions, 0 deletions