[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8b23c9f1-900c-476c-81eb-80aeb2a691dd@web.de>
Date: Sun, 3 Aug 2025 12:42:34 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Johan Hovold <johan@...nel.org>, linux-amlogic@...ts.infradead.org,
Neil Armstrong <neil.armstrong@...aro.org>
Cc: stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Carlo Caione <ccaione@...libre.com>, Jerome Brunet <jbrunet@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Subject: Re: [PATCH] firmware: meson_sm: fix device leak at probe
> Make sure to drop the reference to the secure monitor device taken by
> of_find_device_by_node() when looking up its driver data on behalf of
> other drivers (e.g. during probe).
…
How do you think about to use the attribute “put_device” for this purpose?
https://elixir.bootlin.com/linux/v6.16/source/include/linux/device.h#L1140
Regards,
Markus
Powered by blists - more mailing lists