diff options
author | Thomas Gleixner <[email protected]> | 2015-12-31 16:30:46 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-01-15 13:43:59 +0100 |
commit | 433cbd57d190a1cdd02f243df41c3d7f55ec4b94 (patch) | |
tree | 8fa629daec768b8ce02448b2d1eedff4df4d98d0 /lib/netdev-notifier-error-inject.c | |
parent | 8a580f70f6936ec095da217018cdeeb5835c0207 (diff) |
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 <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Tested-by: Joe Lawrence <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Jeremiah Mahler <[email protected]>
Cc: [email protected]
Cc: Guenter Roeck <[email protected]>
Cc: [email protected] #4.3+
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions