Re: [PATCH v2 0/3] gpiolib: fix bugs in retval sanitization

From: Bartosz Golaszewski
Date: Thu Feb 27 2025 - 02:58:28 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Wed, 26 Feb 2025 11:12:28 +0100, Bartosz Golaszewski wrote:
> Here's a set of fixes to issues spotted in next after queuing the series
> adding return value sanitization to GPIO core.
>
>

Applied, thanks!

[1/3] gpiolib: don't use gpiochip_get_direction() when registering a chip
commit: 9becde08f1bc2857cd66f847eca2aaec3fc05c21
[2/3] gpiolib: use a more explicit retval logic in gpiochip_get_direction()
commit: cc78604fd4799a8e8e9d23ea4898acd6b605982d
[3/3] gpiolib: don't double-check the gc->get callback's existence
commit: 8a5680bffb2f681688b5788751c767fc380ff9b7

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