diff options
| author | Greg Kroah-Hartman <[email protected]> | 2024-06-10 08:19:42 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-13 14:41:06 +0000 |
| commit | 477e36546e6fa79282427d5b82a9a9a67504de1a (patch) | |
| tree | 05303b339855f3fe7b39d8e6af5023f748dd3779 /drivers/net/ethernet/intel/ice/ice_ptp.c | |
| parent | kobject_uevent: Fix OOB access within zap_modalias_env() (diff) | |
| download | kernel-477e36546e6fa79282427d5b82a9a9a67504de1a.tar.gz kernel-477e36546e6fa79282427d5b82a9a9a67504de1a.zip | |
nvdimm: make nd_class constant
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."
Cc: Vishal Verma <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: [email protected]
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/2024061041-grandkid-coherence-19b0@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions
