Commit dd6cad2
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 <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Ira Weiny <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Tested-by: Ira Weiny <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/2023100611-platinum-galleria-ceb3@gregkh
Signed-off-by: Ira Weiny <[email protected]>1 parent fd86eff commit dd6cad2
2 files changed
+16
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
737 | 741 | | |
738 | 742 | | |
739 | 743 | | |
740 | | - | |
| 744 | + | |
741 | 745 | | |
742 | 746 | | |
743 | 747 | | |
| |||
906 | 910 | | |
907 | 911 | | |
908 | 912 | | |
909 | | - | |
910 | | - | |
| 913 | + | |
911 | 914 | | |
912 | 915 | | |
913 | 916 | | |
| |||
921 | 924 | | |
922 | 925 | | |
923 | 926 | | |
924 | | - | |
925 | | - | |
926 | | - | |
| 927 | + | |
| 928 | + | |
927 | 929 | | |
928 | | - | |
929 | 930 | | |
930 | 931 | | |
931 | 932 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1712 | 1712 | | |
1713 | 1713 | | |
1714 | 1714 | | |
1715 | | - | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1716 | 1718 | | |
1717 | 1719 | | |
1718 | 1720 | | |
| |||
1830 | 1832 | | |
1831 | 1833 | | |
1832 | 1834 | | |
1833 | | - | |
| 1835 | + | |
1834 | 1836 | | |
1835 | 1837 | | |
1836 | 1838 | | |
| |||
3276 | 3278 | | |
3277 | 3279 | | |
3278 | 3280 | | |
3279 | | - | |
3280 | | - | |
3281 | | - | |
| 3281 | + | |
| 3282 | + | |
3282 | 3283 | | |
3283 | | - | |
3284 | 3284 | | |
3285 | 3285 | | |
3286 | 3286 | | |
| |||
3377 | 3377 | | |
3378 | 3378 | | |
3379 | 3379 | | |
3380 | | - | |
| 3380 | + | |
3381 | 3381 | | |
3382 | 3382 | | |
3383 | 3383 | | |
| |||
0 commit comments