diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2009-06-22 09:23:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-25 14:00:59 +0100 |
commit | 7aa5514e7170c6179272bc638a980adc1738fd29 (patch) | |
tree | 733f227356acbfaa6fdaa16ddcd5368f726b2c8d /arch/arm/mach-loki/common.h | |
parent | 8fd3ec6309dc3c8b6addc9015458bfae87592a1f (diff) |
[ARM] 5560/1: Avoid buffer overrun in case of an invalid IRQ
handle_bad_irq() expects the IRQ number to be valid (used for statistics),
so it cannot be called with an illegal vector. The problem was reported
by a static analysis tool.
The change makes bad_irq_desc redundant, so delete it.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-loki/common.h')
0 files changed, 0 insertions, 0 deletions