[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFU6DA0RNMXT.1JUNYA54P22HB@kernel.org>
Date: Wed, 21 Jan 2026 10:54:52 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Greg KH" <gregkh@...uxfoundation.org>, "Gui-Dong Han"
<hanguidong02@...il.com>
Cc: "Mark Brown" <broonie@...nel.org>, <rafael@...nel.org>,
<linux-kernel@...r.kernel.org>, <baijiaju1990@...il.com>, "Qiu-ji Chen"
<chenqiuji666@...il.com>, <Aishwarya.TCV@....com>, "Marek Szyprowski"
<m.szyprowski@...sung.com>
Subject: Re: [PATCH v5] driver core: enforce device_lock for
driver_match_device()
On Wed Jan 21, 2026 at 8:56 AM CET, Greg KH wrote:
> On Wed, Jan 21, 2026 at 03:41:56PM +0800, Gui-Dong Han wrote:
>> The warning is triggered because faux_bus_root is a static object.
>> lockdep_register_key() has a WARN_ON_ONCE(static_obj(key)) check that
>> forbids registering keys residing in static memory. It is not about
>> __init memory being freed.
>>
>> Anyway, this is not a big deal and doesn't impact the testing results.
Sorry, I was aware of this (and that it is harmess for testing purposes) and
should have mentioned it so people do not get distracted by it.
> Ooh, nice catch. Let me go make that a dynamic object.
Also had it on my list to fix up today. :)
Powered by blists - more mailing lists