]> 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, 22 May 2013 12:55:40 +0000 (21:55 +0900)
commit20ecf9cb57b2152b492098637d1d3cbe5c14ea15
treebe80823e6975f0790b3ee69e391aacfdcceb17ea
parent69df1d6648a27d96f8cedea3ae44463ccbfd942a
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