diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-04 22:36:58 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-08 13:34:30 +0100 |
commit | c83d9ab42f1ef70d81bb3c637a12c098a9a05057 (patch) | |
tree | 501a3f7ca5f3a66ac4c16a617035941e118d84af /scripts/gdb/linux/tasks.py | |
parent | dda6b81f17ad8e72f8bc151c876cd335a471e268 (diff) |
driver core: 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions