From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A1EB3AEF40 for ; Wed, 21 Jan 2026 09:54:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768989295; cv=none; b=aGcLYgAb9JuJ6xD2QmULJyLFEiwFA53VT3a7F2J3ToHYKg7qpXTM8neo46KTSs8WF3Yk/BH4Go0j3c5unJOriTFEpInP6cTBp1iFum24zUeseJsquxUumzZa2Y6jNeT62k5oKrgwbVOBSWoGBdqUjeP4ueAQGY8iUIWZaeZAPoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768989295; c=relaxed/simple; bh=BlooKaKT2nMBMdHxhgQ3n6tMYfTK6jHXspxUMCdE6dI=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=GvH7VhkD88qLLKEaGdaDOO0/Be2I/FgAsWLpTsaDK/Zj36xb5fN2h85zeSXgZac2e+cKJPdxG667xh8z4C7NahTbPISZqeaWfE7njuCelTAtVNQkZTtdRkWdpSem9Y9UbXqCt6bEedBwBwurIms90fn+Ywq6zQZ4Eye2PuG5dsc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MpzR9Kz/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MpzR9Kz/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40CDCC116D0; Wed, 21 Jan 2026 09:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768989295; bh=BlooKaKT2nMBMdHxhgQ3n6tMYfTK6jHXspxUMCdE6dI=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=MpzR9Kz/TBIcxH3bgF75mX0X4jHOTfeOSYkp9oClyuibuJOtef9CPZcWC7mY5MOu/ LwpfxrANdrhzVdxpHZYoNulKw0gWclQDiY1MUi3TUjm5SZdu/PrzEiBVV2Z17T8Mp1 B2N+N6KBNWbm2uMkvd3lX4IiyXUh6n/J2hddq6eoGKLl4GNPTEiXuZGZ0U2ylYouvD c/F0jZjNnY1JuMBFOzeF8AmJV1Bwe4PKI+ZqS8Jt/g4rQrfKtxKVStW9pU7AFvg/XQ FGgAL9iPz3/xcG3lxGFiV8C35yHukjgxKgJsE8mP08p5QcoKk0IGwfB+xZstGkMjnl nNrVFyDnj19Fg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 21 Jan 2026 10:54:52 +0100 Message-Id: Subject: Re: [PATCH v5] driver core: enforce device_lock for driver_match_device() Cc: "Mark Brown" , , , , "Qiu-ji Chen" , , "Marek Szyprowski" To: "Greg KH" , "Gui-Dong Han" From: "Danilo Krummrich" References: <20260113162843.12712-1-hanguidong02@gmail.com> <7ae38e31-ef31-43ad-9106-7c76ea0e8596@sirena.org.uk> <4ec6cf46-990e-489c-836e-49124034b67f@sirena.org.uk> <47a4290a-6e5b-4648-b798-e9d967b570b4@sirena.org.uk> <2026012133-deploy-chief-3a7f@gregkh> In-Reply-To: <2026012133-deploy-chief-3a7f@gregkh> 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. >>=20 >> 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) an= d 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. :)