diff options
| author | 2023-02-09 18:56:48 -0800 | |
|---|---|---|
| committer | 2023-02-10 08:59:48 -0800 | |
| commit | 2ee8333529857a702475ce36d3af3ecbbcf5af5a (patch) | |
| tree | daf47038cc2461afc18f6f2f6779d682252bde2d /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | xfs: allow setting full range of panic tags (diff) | |
xfs: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("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 definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
