Re: [PATCH] irqchip/gicv3-its: comfort build warnings

2015-09-02 Thread Alex Shi
On 09/02/2015 03:52 PM, Marc Zyngier wrote: > On 02/09/15 06:16, Alex Shi wrote: >> There are some warnings in gicv3-its. >> It looks like they are set in its_lpi_alloc_chunks(), but >> in fact, both of them(lpi_base/nr_lpis) still have some chances >> as unset variables. Anyway to comfort gcc

[PATCH] irqchip/gicv3-its: comfort build warnings

2015-09-01 Thread Alex Shi
There are some warnings in gicv3-its. It looks like they are set in its_lpi_alloc_chunks(), but in fact, both of them(lpi_base/nr_lpis) still have some chances as unset variables. Anyway to comfort gcc if it's not a issue. drivers/irqchip/irq-gic-v3-its.c: In function ‘its_msi_prepare’: