commit | 7aa5514e7170c6179272bc638a980adc1738fd29 | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@nokia.com> | Mon Jun 22 09:23:36 2009 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jun 25 14:00:59 2009 +0100 |
tree | 733f227356acbfaa6fdaa16ddcd5368f726b2c8d | |
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>