Commit 9ebe720
mm: slub: make kobj_type structure constant
Since commit ee6d3dd ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>1 parent e9d198f commit 9ebe720
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6059 | 6059 | | |
6060 | 6060 | | |
6061 | 6061 | | |
6062 | | - | |
| 6062 | + | |
6063 | 6063 | | |
6064 | 6064 | | |
6065 | 6065 | | |
| |||
0 commit comments