Re: [PATCH] qcom: spmi-gpio: Fix boundary conditions IRQ domain translate

From: Linus Walleij
Date: Wed Feb 13 2019 - 03:19:47 EST


On Tue, Feb 12, 2019 at 4:52 AM Bjorn Andersson
<bjorn.andersson@xxxxxxxxxx> wrote:

> GPIOs on the SPMI PMIC are numbered 1..ngpio, so the boundary check in
> pmic_gpio_domain_translate() is off by one, correct this.
>
> Fixes: ca69e2d165eb ("qcom: spmi-gpio: add support for hierarchical IRQ chip")
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

Good catch! Patch applied with Brian's review tag.

Yours,
Linus Walleij