[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7a601c2e-7627-42ea-8d28-eeaf7c527404@web.de>
Date: Fri, 26 Sep 2025 20:55:28 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Johan Hovold <johan@...nel.org>, linux-arm-msm@...r.kernel.org,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Anjelique Melendez <quic_amelende@...cinc.com>
Subject: Re: [PATCH 2/2] soc: qcom: pbs: fix device leak on lookup
> Make sure to drop the reference taken to the pbs platform device when
> looking up its driver data.
…
How do you think about to increase the application of scope-based resource management?
Is there a need to improve the API description for platform_device_put()?
https://elixir.bootlin.com/linux/v6.17-rc7/source/drivers/base/platform.c#L543-L547
Regards,
Markus
Powered by blists - more mailing lists