]> git.karo-electronics.de Git - karo-tx-linux.git/commit
irqchip: renesas-irqc: Fix irqc_probe error handling
authorAxel Lin <axel.lin@ingics.com>
Mon, 6 May 2013 09:03:32 +0000 (17:03 +0800)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 8 May 2013 00:56:07 +0000 (09:56 +0900)
commite42a73116cffb8cf5e945d6c676d157c84d43cce
tree39595a7550db50a4c3789e0a8595f3aa71b4020b
parentce6976153af850d3c54118e6c8070c781821976b
irqchip: renesas-irqc: Fix irqc_probe error handling

The code in goto err3 path is wrong because it will call fee_irq() with k == 0,
which means it does free_irq(p->irq[-1].requested_irq, &p->irq[-1]);

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/irqchip/irq-renesas-irqc.c