diff options
| author | Thomas Gleixner <[email protected]> | 2010-09-28 21:20:23 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2010-09-30 22:57:35 +0000 |
| commit | 021989622810b02aab4b24f91e1f5ada2b654579 (patch) | |
| tree | b82183d2b69b8510122872206ffa7d75d5542131 /lib/dynamic_debug.c | |
| parent | x86, irq: Plug memory leak in sparse irq (diff) | |
| download | kernel-021989622810b02aab4b24f91e1f5ada2b654579.tar.gz kernel-021989622810b02aab4b24f91e1f5ada2b654579.zip | |
x86, hpet: Fix bogus error check in hpet_assign_irq()
create_irq() returns -1 if the interrupt allocation failed, but the
code checks for irq == 0.
Use create_irq_nr() instead.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Venkatesh Pallipadi <[email protected]>
LKML-Reference: <[email protected]>
Cc: [email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
