[PATCH] gpio: nomadik: Add missing IS_ERR() check
Linus Walleij
linusw at kernel.org
Thu Feb 19 09:47:29 PST 2026
On Sat, Feb 14, 2026 at 5:45 AM Ethan Tidmore <ethantidmore06 at gmail.com> 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 at vger.kernel.org
> Signed-off-by: Ethan Tidmore <ethantidmore06 at gmail.com>
Great catch!
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list