Re: [PATCH] ARM: OMAP3+: fix oops triggered in omap_prcm_register_chain_handler(v1)

2012-03-22 Thread Kevin Hilman
Ming Lei tom.leim...@gmail.com writes: This patch fixes the oops below[1]. Obviously, the count of struct irq_chip_generic instances to be allocated and setup should be irq_setup-nr_regs instead of irq_setup-nr_regs plus one, so just fix the iterator to avoid the oops. [...] --- v1:

[PATCH] ARM: OMAP3+: fix oops triggered in omap_prcm_register_chain_handler(v1)

2012-03-21 Thread Ming Lei
This patch fixes the oops below[1]. Obviously, the count of struct irq_chip_generic instances to be allocated and setup should be irq_setup-nr_regs instead of irq_setup-nr_regs plus one, so just fix the iterator to avoid the oops. [1], oops log. [1.790242] Unable to handle kernel NULL