[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYDmx9qrkCo5mad_w1e0MKNYrVirg=qi+R4Q907SLdRwg@mail.gmail.com>
Date: Fri, 19 Jan 2024 00:52:30 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: nikita.shubin@...uefel.me
Cc: Hartley Sweeten <hsweeten@...ionengravers.com>,
Alexander Sverdlin <alexander.sverdlin@...il.com>, Russell King <linux@...linux.org.uk>,
"Wu, Aaron" <Aaron.Wu@...log.com>, Olof Johansson <olof@...om.net>, Lee Jones <lee@...nel.org>,
Ralf Baechle <ralf@...ux-mips.org>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Andy Shevchenko <andriy.shevchenko@...el.com>
Subject: Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table
On Thu, Jan 18, 2024 at 9:22 AM Nikita Shubin via B4 Relay
<devnull+nikita.shubin.maquefel.me@...nel.org> wrote:
> From: Nikita Shubin <nikita.shubin@...uefel.me>
>
> Without the terminator, if a con_id is passed to gpio_find() that
> does not exist in the lookup table the function will not stop looping
> correctly, and eventually cause an oops.
>
> Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
> Reported-by: Andy Shevchenko <andriy.shevchenko@...el.com>
> Signed-off-by: Nikita Shubin <nikita.shubin@...uefel.me>
Sorry, my bug...
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists