cxl: Release irqs if memory allocation fails

Michael Ellerman mpe at
Fri Aug 28 07:58:33 AEST 2015

On Tue, 2015-25-08 at 05:34:48 UTC, Vaibhav Jain wrote:
> This minor patch plugs a potential irq leak in case of a memory
> allocation failure inside function the afu_allocate_irqs. Presently the
> irqs allocated to the context gets leaked if allocation of either
> one of context irq_bitmap or irq_names fails.
> Signed-off-by: Vaibhav Jain <vaibhav at>
> Acked-by: Ian Munsie <imunsie at>

Applied to powerpc next, thanks.


More information about the Linuxppc-dev mailing list