[PATCH v2] powerpc/xive: Add some error handling code to 'xive_spapr_init()'

Michael Ellerman patch-notifications at ellerman.id.au
Tue Feb 15 16:26:41 AEDT 2022


On Tue, 1 Feb 2022 13:31:16 +0100, Christophe JAILLET wrote:
> 'xive_irq_bitmap_add()' can return -ENOMEM.
> In this case, we should free the memory already allocated and return
> 'false' to the caller.
> 
> Also add an error path which undoes the 'tima = ioremap(...)'
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/xive: Add some error handling code to 'xive_spapr_init()'
      https://git.kernel.org/powerpc/c/e414e2938ee26e734f19e92a60cd090ebaff37e6

cheers


More information about the Linuxppc-dev mailing list