[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <13b7276a-f151-4b03-9f90-847d4a4aa031@web.de>
Date: Fri, 26 Sep 2025 20:08:06 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Johan Hovold <johan@...nel.org>, asahi@...ts.linux.dev
Cc: stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Janne Grunau <j@...nau.net>, Neal Gompa <neal@...pa.dev>,
Sven Peter <sven@...nel.org>
Subject: Re: [PATCH 1/2] soc: apple: mailbox: fix device leak on lookup
> Make sure to drop the reference taken to the mbox platform device when
> looking up its driver data.
…
How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/device.h#L1180
https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/of.h#L138
Regards,
Markus
Powered by blists - more mailing lists