Re: [PATCH v3 00/11] gpio: Adopt revocable mechanism for UAF prevention
From: Bartosz Golaszewski
Date: Wed Feb 18 2026 - 05:26:25 EST
On Fri, Feb 13, 2026 at 10:31 AM Tzung-Bi Shih <tzungbi@xxxxxxxxxx> wrote:
>
> This series transitions the UAF prevention logic within the GPIO core
> (gpiolib) to use the 'revocable' mechanism.
>
> The existing code aims to prevent UAF issues when the underlying GPIO
> chip is removed. This series replaces that custom logic with the
> generic 'revocable' API, which is designed to handle such lifecycle
> dependencies. There should be no changes in behavior.
>
Patches 1-6 look good to me, I think they should go into linux-next
after v7.0-rc1 is tagged to lessen the burden on the subsequent
revocable work.
Bart