aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorAaro Koskinen <[email protected]>2009-06-22 09:23:36 +0100
committerRussell King <[email protected]>2009-06-25 14:00:59 +0100
commit7aa5514e7170c6179272bc638a980adc1738fd29 (patch)
tree733f227356acbfaa6fdaa16ddcd5368f726b2c8d /drivers/mtd/lpddr/lpddr_cmds.c
parent8fd3ec6309dc3c8b6addc9015458bfae87592a1f (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 <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions