Re: [PATCH] gpio: mlxbf3: fail probe if gpiochip registration fails
From: Bartosz Golaszewski
Date: Tue Jun 16 2026 - 03:43:44 EST
On Mon, 15 Jun 2026 17:19:18 +0800, Pengpeng Hou wrote:
> mlxbf3_gpio_probe() logs a devm_gpiochip_add_data() failure but still
> returns success. That leaves the platform device bound even though the
> GPIO chip was not registered.
>
> Return the registration error so probe failure matches the missing
> gpiochip state.
>
> [...]
I added the Fixes tag and applied it, thanks!
[1/1] gpio: mlxbf3: fail probe if gpiochip registration fails
https://git.kernel.org/brgl/c/0482862a90169f4daaba0ed31a85d8304bf51e04
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>