|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/irq: Propagate the error from init_one_desc_irq() in init_irq_data()
Hi Roger, On 19/11/2020 15:11, Roger Pau Monné wrote: On Thu, Nov 19, 2020 at 02:54:34PM +0000, 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_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>--- xen/arch/x86/irq.c | 7 ++++++-Fox x86: Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Thank you!
I need to send a new version, so I have merged the two line together. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |