Re: [PATCH] gpiolib: Put fwnode reference on failure

Bartosz Golaszewski <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAMRc=MerLCkPNic9jbgs5YDeR377mp3MsbbkfWO12P8WWaq+Mg@mail.gmail.com>
On Thu, 6 Aug 2026 23:47:35 +0200, Michail Tatas <[email protected]> said:
> We get a reference to the fwnode handle which we pass to
> gpio_shared_make_ref. In case it fails we do not put the reference.
> Fix by putting the reference in the failure case
>
> Signed-off-by: Michail Tatas <[email protected]>
> ---

Can you add the Fixes: and Cc: stable tags please?

Bart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.