diff options
author | 2023-02-09 18:56:48 -0800 | |
---|---|---|
committer | 2023-02-10 08:59:48 -0800 | |
commit | 2ee8333529857a702475ce36d3af3ecbbcf5af5a (patch) | |
tree | daf47038cc2461afc18f6f2f6779d682252bde2d /scripts/generate_rust_analyzer.py | |
parent | xfs: allow setting full range of panic tags (diff) | |
download | linux-rng-2ee8333529857a702475ce36d3af3ecbbcf5af5a.tar.xz linux-rng-2ee8333529857a702475ce36d3af3ecbbcf5af5a.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions