diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-17 03:14:41 +0000 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2023-03-09 11:15:42 +0100 |
commit | 1b47b80e2fa777b37a9486512f4636d7e6aaa353 (patch) | |
tree | 03a1bf23ec0ce136d851b0acc59019d208fd2d38 /tools/perf/scripts/python/sched-migration.py | |
parent | 7dd86cf80127aeef8a447c81228a77f0f25cc211 (diff) |
livepatch: 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]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions