[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66673b8a1ec86_12552029457@dwillia2-xfh.jf.intel.com.notmuch>
Date: Mon, 10 Jun 2024 10:44:42 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, <nvdimm@...ts.linux.dev>
CC: <linux-kernel@...r.kernel.org>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, Dan Williams <dan.j.williams@...el.com>,
"Vishal Verma" <vishal.l.verma@...el.com>, Dave Jiang <dave.jiang@...el.com>,
"Ira Weiny" <ira.weiny@...el.com>
Subject: Re: [PATCH] nvdimm: make nd_class constant
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 <dan.j.williams@...el.com>
...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."
Powered by blists - more mailing lists