Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2631860rdb; Mon, 5 Feb 2024 12:27:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiJlaH8w0q7Ut22nX7iC1dM0lZx9TlHVbt0HwAEwxdyRnHsqhrYT++CeW2nGyTtT0G2rsY X-Received: by 2002:a05:6102:1629:b0:46d:1c4c:3b78 with SMTP id cu41-20020a056102162900b0046d1c4c3b78mr1102493vsb.20.1707164874649; Mon, 05 Feb 2024 12:27:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707164874; cv=pass; d=google.com; s=arc-20160816; b=Xji8L//2oObMme52dbMZ7c8ZBiwH8YMonpIkKqkJidSCJDSK3QOR+Dc8Ma3YFhieJI HP/PHLSlned8B5z5rHmpozwjQ2c2yPR2LvjutrWKxFE1kEC7IrxMvsyrUbCOtwTJcwSb XpopDBAjQSuN1jDx8L2/F2UOYJYrgaDNcDx2SJCS+XNzp1LUoJuuay50YSJ6iOtHTjpB /Xzb3X/uuHdpmZH8eaLW89fwI26mOxTGmCJulP6Ct5C38jL7QrYUl0hQ0dbBCSqhHNa4 BzpHe+dOl2h054fdKGBAi8RdcGVR14AwUM0GAEUf1cwLpnZbTCRnEY9c7wUn2yKnZGq+ BZrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7wXmSLfS2JPfxiLFtMuEB44OJWAwbvVuhxs3qSi1Os8=; fh=Yb1iWs34ccY7YkVRsLVwuu1NkZEIimGgThdB23k7yoA=; b=QXO23AoQ4ruU8zltHEv9HpQuclIbCP4RpQcOT7c55Er3Hh5q/sU7i9Az48rJojPwkp SjBgaxMR6X7ZQQZPv9l8Fcrg9HCAkBaudCgMBhbfnNjXTODJ1/3t6sFWek18c5d6ipZI T47RRplLunpyP1AGd0KJgfCF3+1TxTueOLufyC53fXw98MET/EH2orhLQbGSIqMT5joe FI1sXsLozvGhXJT5FG9nCI2W/FWUAv4tlmuiIyOOXmaPSslr+6qT/80ttFPuWnw6ePaA s+TzcpcUk2aq6whMfTo4oYOLJkx2NDHEAQ9RXc917buxtZ8P2RcRiC3kiWwnn4C3lTpi ou2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XI+gIEYp; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCXjQBHZjmenmJeqsrvAmy5gicuoLOJZcnLFHdlVg9YF14gWwrAlYwEQERhgHf6VNWubauwnz1OL+0DN1pEhxESB0Tuk5I9WznTxVVHtRQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z3-20020a0cfc03000000b0068caf0ca3aasi506701qvo.413.2024.02.05.12.27.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 12:27:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XI+gIEYp; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 65E361C2580E for ; Mon, 5 Feb 2024 20:27:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFD68183AE2; Mon, 5 Feb 2024 19:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XI+gIEYp" 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 7974815B977; Mon, 5 Feb 2024 19:03:59 +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=1707159839; cv=none; b=Tgty24CWC9GG6mc+/PKPpY7N+03dayrZzhGBGPIjgCiOG7VU2xJ0IGaBvBfKBAsJBzJJpZjgAMXCdVE2loIvFem3bGPhOQiojgxc6xsEMjP5E+q9hxHwqs1ApFgINvIfVa85NoT7EfD7KLo0FnUUX24TaOL5lIbwGh5zsmpCOOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159839; c=relaxed/simple; bh=ySecDCyg8vuEud4f7aCMlAWM0dO7bI/xCzLq61pslLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ao6MkRCU9aqK7uFSU4JlcB3Snz7zLX41SRssOpCuzvUzf7Ip9YnwD5476MBpzY9IXWTnJB1IXOAavO9XSMm/ZZ3KfjmC0qAYe1+G79SxzLVEcEAGmevuVsDwflrwAl4YKEPZEkvgKPICsUcy3vAcx4JLT1IJc4hxcjhgvm9n1WE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XI+gIEYp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DF38C4166A; Mon, 5 Feb 2024 19:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159839; bh=ySecDCyg8vuEud4f7aCMlAWM0dO7bI/xCzLq61pslLo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XI+gIEYpvKrya/N09IPwULRrVAviQwhNmjl29UetKZtwFudBydH8GMkVLl98ML17s Q/p4QeqycDwFfYuJI1J4zvxLoWZxXcTD7ZBEMKTEfzaJzZWQ5dn56mrNmDgLaymgSm N0W5UGj5IqT1ddENMtX1BDf/4CvCyEsm0CwJ1d7c= Date: Mon, 5 Feb 2024 04:50:38 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Dan Williams , Vishal Verma , Dave Jiang , nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] device-dax: make dax_bus_type const Message-ID: <2024020534-stoic-swooned-0985@gregkh> References: <20240204-bus_cleanup-dax-v1-1-69a6e4a8553b@marliere.net> 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: <20240204-bus_cleanup-dax-v1-1-69a6e4a8553b@marliere.net> On Sun, Feb 04, 2024 at 01:07:11PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the dax_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman