Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2602376rdb; Mon, 5 Feb 2024 11:27:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/68A34LDA25wScobDZU1pfmSiJhwQIyCmoejVijvFj2GGWpqLtn76imo0PyBhPWy3ECP9 X-Received: by 2002:ad4:4204:0:b0:68c:46ee:de71 with SMTP id k4-20020ad44204000000b0068c46eede71mr10688052qvp.1.1707161227935; Mon, 05 Feb 2024 11:27:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707161227; cv=pass; d=google.com; s=arc-20160816; b=znG9PqJsavRe55ogYy4DwCm5ymBIZUbr1cbJTNHzf9Tg3kWj15uE8bSd9JQfmdU0zj qHrMWd3YQ1k5R76BqQRaY3maPFeJZO0FHPiDzw92LQ1kxvNEDyn8KB4B7Dky4RZOSQle bGtRUhB0PLCm31wNNPFxppofBvOlT018MIUw1ufL381iyfrN00x7SzMBsvun7YMyKaMV o7TirSRBSN6nMLK/hMLett7Po6290/UEzW7klmVcL0g+gdULUdS4o53WSffLeZ+vAAtT VDOeM9GWRbNE8MzHTvEc2vjegLyePtIaUhX0RuxuUokRwICpqXT1MfopotV/QGm/z1+o 8iSQ== 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=jvk5DWcj3w8p3WmSUKnRkK2Wwvnk8+MtijPbEQr/5KE=; fh=pwRdaiKOzQmNFXCRRnVdXc9Ypqh0HyiGVcq0E7gR3GY=; b=WIoCzxskQV+WgkIEAM4X2NgIqbX/TH3ZwONFeMafDa0VmzGdiMed4Y8qt3E4Cc0V7f pz3Jhgr4vrMKhyusqOPuwYc1fEz47ti6jbuALNxblHs0wtuytm5/TfzaRkQ44ZjJPG6U LAHGEAd/FHc1Gyn7s5JKrzG3wzwMJwkavGI7xPbnL9FJcl6+7qAkCPB7Jy6J0CCj495s 97t5RDhqIZeTdZHZ7nHR/J/bn+RMzEfqwIdLjMHBwt0/MrdA/VJW27rgPzWHorIkujWd UTkReoDibVk9csRssCMqdTH9R6ewhMreWmknx7VwMtDSOgXUyUZqqGe+eKKypEcSquMq +uYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cAdtPOm7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53373-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; AJvYcCUwlp/dSE5UuRQ32QH8xrQyBFaFj5KmoGAMAxSdaHC3m+RnDvdXq/F4q7f3JUHu18mUGVRhzAg49IW/wxnwjw3tOsNbDaLi1OD/IxJzZw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dg15-20020a056214084f00b0068c7a7bcf0csi562866qvb.448.2024.02.05.11.27.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:27:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cAdtPOm7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53373-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 C40D91C20FB8 for ; Mon, 5 Feb 2024 19:27:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2DC283CA3; Mon, 5 Feb 2024 19:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cAdtPOm7" 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 C117A81AB3; Mon, 5 Feb 2024 19:03:25 +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=1707159805; cv=none; b=skZpw8nhLSauNemfh+L16x1VilqvfsiyEn1IxPHxL85k4AkLld20CrRmqcBOhroMrao/LQ3Mccxwmn0cjNNUlpO208VHf/yiDLdVTTqo0BFy751/C7bXEnXbXOVQdz5zVIV6egW6Ew+21t1KqAkRJx0a4eKp7mSp2BQ4x7DyJmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159805; c=relaxed/simple; bh=l8E48JqEiLUq+g7VXEPmj7k+iRCuEuoIVhBVcSOCs+E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZtLy5V3qYlT+rGr+OvIVYvVMms3JQ3BsTV9YtzWdZaBLjQZhgJt13RXAEj6c6Hp7TNwm4RADvzGij0Sgy9Zaa/rlIkA1MwQX4iYvsRe1faajRAGilrV9qLJEHUcMwmSEeXxpmk1EkeuIU9bH3eXcCF6x+PcT5vDiyWXB2OkSxzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cAdtPOm7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4254EC43394; Mon, 5 Feb 2024 19:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159805; bh=l8E48JqEiLUq+g7VXEPmj7k+iRCuEuoIVhBVcSOCs+E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cAdtPOm7Z6gCfcPSGvj2SAwmyPEMR1HthJCYOpI4ubBie8cOSUh+f9zqyHV0DiXlZ C7FCF/zljJC6pv87qiPWKeELiL8Hfs6ESw2GD4IZ91NkdjKcltn3BaHfQ4UOtQ1RFt o/5EdVoaGaX0X4oxdeZShn91Bhjle8WzV068L/Qo= Date: Mon, 5 Feb 2024 04:48:16 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvdimm: make nvdimm_bus_type const Message-ID: <2024020512-bondless-suction-9ad5@gregkh> References: <20240204-bus_cleanup-nvdimm-v1-1-77ae19fa3e3b@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-nvdimm-v1-1-77ae19fa3e3b@marliere.net> On Sun, Feb 04, 2024 at 05:20:07PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the nvdimm_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