Message ID | 1462994597-6299-1-git-send-email-drjones@redhat.com |
---|---|
State | Accepted |
Commit | cf1d9d11e25053a264c0001aa86be7680bb1ecc1 |
Headers | show |
diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 5b7d3c2129d87..518bc1799b4dc 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -147,7 +147,7 @@ static void gic_enable_redist(bool enable) while (count--) { val = readl_relaxed(rbase + GICR_WAKER); - if (enable ^ (val & GICR_WAKER_ChildrenAsleep)) + if (enable ^ (bool)(val & GICR_WAKER_ChildrenAsleep)) break; cpu_relax(); udelay(1);
Signed-off-by: Andrew Jones <drjones@redhat.com> --- I'm unaware of any problems this may have caused. I only just saw it while reading over the code. drivers/irqchip/irq-gic-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.11