Messages in this thread | | | Date | Wed, 11 Oct 2023 08:53:33 -0700 | From | Ira Weiny <> | Subject | Re: [PATCH] testing: nvdimm: make struct class structures 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. > > Cc: Dan Williams <dan.j.williams@intel.com> > Cc: Vishal Verma <vishal.l.verma@intel.com> > Cc: Dave Jiang <dave.jiang@intel.com> > Cc: Ira Weiny <ira.weiny@intel.com>
Tested-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > --- > tools/testing/nvdimm/test/ndtest.c | 17 +++++++++-------- > tools/testing/nvdimm/test/nfit.c | 14 +++++++------- > 2 files changed, 16 insertions(+), 15 deletions(-)
| |