Re: [PATCH] gpio: nomadik: Add missing IS_ERR() check
From: Linus Walleij
Date: Thu Feb 19 2026 - 12:48:42 EST
On Sat, Feb 14, 2026 at 5:45 AM Ethan Tidmore <ethantidmore06@xxxxxxxxx> wrote:
> The function gpio_device_get_desc() can return an error pointer and is
> not checked for one. Add check for error pointer.
>
> Fixes: ddeb66d2cb10f ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Ethan Tidmore <ethantidmore06@xxxxxxxxx>
Great catch!
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij