diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 16:02:12 +0200 |
---|---|---|
committer | Ira Weiny <ira.weiny@intel.com> | 2023-10-11 09:04:28 -0700 |
commit | dd6cad2dcb581b2b15997b6e8d50de64644c3011 (patch) | |
tree | c99fcfbaf638fda0a901e4b118f532af5a76e51b /drivers/nvdimm | |
parent | fd86eff33898f8ec2381620be32b06ee57f9adf8 (diff) | |
download | lwn-dd6cad2dcb581b2b15997b6e8d50de64644c3011.tar.gz lwn-dd6cad2dcb581b2b15997b6e8d50de64644c3011.zip |
testing: nvdimm: make struct class structures constant
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/2023100611-platinum-galleria-ceb3@gregkh
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions