Re: [PATCH] gpio: tegra: return -ENOMEM on allocation failure in probe

From: Bartosz Golaszewski

Date: Fri Apr 10 2026 - 03:01:59 EST



On Thu, 09 Apr 2026 11:58:53 -0700, Samasth Norway Ananda wrote:
> devm_kzalloc() failure in tegra_gpio_probe() returns -ENODEV, which
> indicates "no such device". The correct error code for a memory
> allocation failure is -ENOMEM.
>
>

Applied, thanks!

[1/1] gpio: tegra: return -ENOMEM on allocation failure in probe
https://git.kernel.org/brgl/c/57df6923ca53b524d06d2347b896d9de74b3bc86

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>