Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp334413lqp; Wed, 12 Jun 2024 03:02:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6SPke+RPm9LKcLkC4Qa0cKzkcAQ9ZRfF3WBsJNqsIo+as41xcvmC6MZzgijEIBRz8mMUnXfjYWq4pCYlZtZWDPiJTkfgpRwNaOiWmtg== X-Google-Smtp-Source: AGHT+IE7v/qfzISBnBYBpGx0NZivSTiwfW8uBmixy1fNE+KDvXZF4UUPVaJPSh2aq29WfZaBf1f+ X-Received: by 2002:a17:906:f109:b0:a6e:f3d7:4107 with SMTP id a640c23a62f3a-a6f47f80572mr81856966b.72.1718186551797; Wed, 12 Jun 2024 03:02:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718186551; cv=pass; d=google.com; s=arc-20160816; b=H29YGmPf5bIM1uCooXkKmVZbvJTtDK2VVhpFAo2PkVhfDz83Tl9Rv8SjHUotGAGcfX 4QwQi5Gpsjdz7Rs9HU7/hSzygItSxM7+zuH/lQgVIy1xFhS5a3OlTnrCscnxFlBYJjgo YSdFhlVM3ZA0O99As0XCiPSPP/WW4a63RCYNisidGoE6sLlFU+Zow6hH8wwOBXMfM1Cq hXV/IsNytEZ80v5qTazFKkskV/+fqCMaSJqIzScaaLq0IFerN6Q4t4LpS6QQi4DqBG99 NTpxhkIcaffOJIzBB011c/ZHNkB/JK1S9O6aYPTO+GPClP3GkC/xdyA/rj1/rxgAfXEV cW5A== 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=CVZr1OEqUt6pdLgGUaJnmC8Yg3+qTDWuhTtqzkHLJ1Y=; fh=dpnxHIST9sv6VXXCtfLDdXbJlgyE/8lL317DPP2zWIs=; b=btL9LKGY16s+4quJ3Ee7/fsHdcSbrTTIQy15Y7mqbkZTamYLS69HFYxgE1hFGHEJHV KbsAIu8tP2iKeSi+Tiez5pZ/VvNXChBiXRll9nEfeGRSa/opQXQaqRRi62fpHJJ5iJkZ Zp3eKDCqO/Be9tqi6kql6p92LFUJ5HtlbjwMrR2W065kWVPjrLuqoy11R06eXiktkUcC ft6d76bBJEX7KgzTdnsplioe+mnnD/mvsVstZc/I+AhJdzCxAVqtzBLEZY9Du+u9LtEi X85fg3WbQGACaL4osJpPXyUmbfXIC8QVqsbPGvrsjK7F9rS7DmYzCV4wrjTaObBcmwkN 8Hsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kdKHnRoS; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211318-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f2e241c9csi218946066b.370.2024.06.12.03.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 03:02:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211318-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kdKHnRoS; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211318-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211318-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 828781F25B7F for ; Wed, 12 Jun 2024 10:02:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A8C016E867; Wed, 12 Jun 2024 10:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kdKHnRoS" 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 8E10A153BEF; Wed, 12 Jun 2024 10:00:43 +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=1718186443; cv=none; b=mquiluYqqQgWT4bTjqj1eGrEZSe8oxyTqHOa1Meqz9Kwp9EcQHNQwdUjs/2MXZubRLpySUV+kZ3qd93y/SL8bJ5PzFfrH619b+op58PEKrH3PXAG3tOGn4tHugZ9G3AisxG5HP2Gyp2qGqWATseS6dhV/d039TEA0rNkGUk9p7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718186443; c=relaxed/simple; bh=7LFqbV8a2eEf04HyVsqJ/oKgbTyp/2/zSarRLIBqhmQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EcWLjqpE2qE0pi9O+OusiFF3di+MIZlA+fGvcfy06Dh2/rgsU+bIKhoWu+E2ZRglt3GOuTax+lqA48FXw3qNb75OZilJ5mCEKQ4VW+Ca3RB/LqO80uPl8fK6rY6N86bfpPR2R9a73bgS7qJBXm9HDS+W1BcdDaZK7DBS7BR3U4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kdKHnRoS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DADB2C3277B; Wed, 12 Jun 2024 10:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718186443; bh=7LFqbV8a2eEf04HyVsqJ/oKgbTyp/2/zSarRLIBqhmQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kdKHnRoS1XvxkBjEUW5CYbnJqb9mdMDAyeGMUa5SEH/jcItCRT6abOIulu1Io5Jg2 67160/YLkMJCBzdDKsBJrZ0Jr/mGzLS7ONQmoIdZdL5jFSNBILuN9k+AtEFOML4mFI RLEbtwJQDeqa2oOkR6G7tM1IyDx5/kIUXiOylvrI= Date: Wed, 12 Jun 2024 12:00:40 +0200 From: Greg Kroah-Hartman To: Dan Williams Cc: nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, Vishal Verma , Dave Jiang , Ira Weiny Subject: Re: [PATCH] nvdimm: make nd_class constant Message-ID: <2024061206-unleveled-seduce-9861@gregkh> References: <2024061041-grandkid-coherence-19b0@gregkh> <66673b8a1ec86_12552029457@dwillia2-xfh.jf.intel.com.notmuch> 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: <66673b8a1ec86_12552029457@dwillia2-xfh.jf.intel.com.notmuch> On Mon, Jun 10, 2024 at 10:44:42AM -0700, Dan Williams wrote: > Greg Kroah-Hartman wrote: > > Now that the driver core allows for struct class to be in read-only > > memory, we should make all 'class' structures declared at build time > > placing them into read-only memory, instead of having to be dynamically > > allocated at runtime. > > Change looks good to me, > > Reviewed-by: Dan Williams > > ...changelog grammar tripped me up though, how about: > > "Now that the driver core allows for struct class to be in read-only > memory, it is possible to make all 'class' structures be declared at > build time. Move the class to a 'static const' declaration and register > it rather than dynamically create it." That works too, want me to resubmit with this, or can I update it when I commit it to my tree? thanks, greg "the changelog is the hardest part" k-h