aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2017-02-15 10:11:51 +0000
committerGreg Kroah-Hartman <[email protected]>2017-02-15 16:49:58 +0000
commit6cf18e6927c0b224f972e3042fb85770d63cb9f8 (patch)
treeea7ebea14338936e8b81a3d7a641a019fca986fe /scripts/gcc-plugins/cyc_complexity_plugin.c
parentx86/platform/goldfish: Prevent unconditional loading (diff)
downloadkernel-6cf18e6927c0b224f972e3042fb85770d63cb9f8.tar.gz
kernel-6cf18e6927c0b224f972e3042fb85770d63cb9f8.zip
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: e809c22b8fb028 ("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]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions