Thread (7 messages) 7 messages, 6 authors, 2024-02-05

Re: [PATCH v7 01/39] ARM: ep93xx: Add terminator to gpiod_lookup_table

From: Linus Walleij <hidden>
Date: 2024-01-18 23:52:43
Also in: lkml

On Thu, Jan 18, 2024 at 9:22 AM Nikita Shubin via B4 Relay
[off-list ref] wrote:
From: Nikita Shubin <nikita.shubin@maquefel.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 <redacted>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Sorry, my bug...
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help