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

From: Christophe JAILLET
Date: Tue Feb 01 2022 - 07:32:58 EST


Le 01/02/2022 à 12:31, Christophe Leroy a écrit :
Hi,

Le 01/08/2019 à 13:09, Christophe JAILLET a écrit :
'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(...)'

This old patch doesn't apply, if it is still relevant can you please rebase ?

Thanks
Christophe


Hi, funny to see a 2 1/2 years old patch to pop-up like that :)
It still looks relevant to me.

V2 sent.
Still not compile tested.

CJ