irqchip/gic-v3-its: Silence warning when its_lpi_alloc_chunks gets inlined
[deliverable/linux.git] / drivers / irqchip / irq-gic-v3-its.c
index ac7ae2b3cb83726e336ce310d95e2b890da8224d..25ceae9f7348b3208bdd6dec0048a88d4ce34f73 100644 (file)
@@ -719,6 +719,9 @@ static unsigned long *its_lpi_alloc_chunks(int nr_irqs, int *base, int *nr_ids)
 out:
        spin_unlock(&lpi_lock);
 
+       if (!bitmap)
+               *base = *nr_ids = 0;
+
        return bitmap;
 }
 
This page took 0.024564 seconds and 5 git commands to generate.