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 AFF723A9625 for ; Wed, 21 Jan 2026 10:30:26 +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=1768991426; cv=none; b=pX+X1MoG9DVnzriiWMcy4BuAYp0xN5o+JicMiMN+bdsY5zRDfn+nH8neJrqfCDUWBEE09q3u1AYBdipYBh8HK2uq8AOe0NCev3FEyDfO3E/imXSDUI+q4HiqRsmlPyC+84wPz0mgLS31Njytbw0dtkM+OOY33Z0r0Yw2X/ctcT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768991426; c=relaxed/simple; bh=lN8fs2Exk6hediLIqH37Jby3t+tVw/pI5PYWnVp/+OI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oF3WHumZOlFNs1fF4klBtyrIzAK2n2Jeu8OboV9LV6E/uRdoo8UHMG6EEFSCkbbVnfta/g2TrZaKSh2BpWTg/7P0AZk3QotGijz9iBL4TKW3KaQBOo8ocNV+AfiLqLBZiKKqTLfFXiJYhpE52FGXy/KUar7l+IsCkn2Ii1zRPZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nT0zvzqJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nT0zvzqJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A02BBC116D0; Wed, 21 Jan 2026 10:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768991426; bh=lN8fs2Exk6hediLIqH37Jby3t+tVw/pI5PYWnVp/+OI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nT0zvzqJERyllySFqkhZwZIzli9sCKWlP9BoSQmhdg1PenX66fz0IBv8pouuyKXxC Cerr+SacLdcQv9mliMtI/Y9JioukisysQDYLJsyxhglsqsVIgLIayF+KVNqTZU0GD4 IPtCR6eeys8CTWSfXQcqX+LIQ4u3FtlPp9mN463s= Date: Wed, 21 Jan 2026 11:30:22 +0100 From: Greg KH To: Danilo Krummrich Cc: Gui-Dong Han , Mark Brown , rafael@kernel.org, linux-kernel@vger.kernel.org, baijiaju1990@gmail.com, Qiu-ji Chen , Aishwarya.TCV@arm.com, Marek Szyprowski Subject: Re: [PATCH v5] driver core: enforce device_lock for driver_match_device() Message-ID: <2026012105-doubling-defog-8c39@gregkh> References: <4ec6cf46-990e-489c-836e-49124034b67f@sirena.org.uk> <47a4290a-6e5b-4648-b798-e9d967b570b4@sirena.org.uk> <2026012133-deploy-chief-3a7f@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jan 21, 2026 at 10:54:52AM +0100, Danilo Krummrich wrote: > 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. :) I've tested this and have sent it out for "real" now. thanks, greg k-h