[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PING] Re: [PATCH v2] xen/irq: Propagate the error from init_one_desc_irq() in init_*_irq_data()

Hi all,

On 28/11/2020 11:36, Julien Grall wrote:
From: Julien Grall <jgrall@xxxxxxxxxx>

init_one_desc_irq() can return an error if it is unable to allocate
memory. While this is unlikely to happen during boot (called from
init_{,local_}irq_data()), it is better to harden the code by
propagting the return value.

Spotted by coverity.

CID: 106529

Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Reviewed-by: Roger Paul Monné <roger.pau@xxxxxxxxxx>

From my understanding of MAINTAINERS rule, I still need an ack from x86 maintainers.


Julien Grall



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.