Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
goldfish: Sanitize the broken interrupt handler
This interrupt handler is broken in several ways: - It loops forever when the op code is not decodeable - It never returns IRQ_HANDLED because the only way to exit the loop returns IRQ_NONE unconditionally. The whole concept of this is broken. Creating devices in an interrupt handler is beyond any point of sanity. Make it at least behave halfways sane so accidental users do not have to deal with a hard to debug lockup. Fixes: e809c22 ("goldfish: add the goldfish virtual bus") Reported-by: Gabriel C <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Linus Torvalds <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information