diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-08 03:54:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-08 13:34:41 +0100 |
commit | 862f6a84d1bf01435fdd6aa8b2811c88ab1f06f4 (patch) | |
tree | 9cca76f3b0d328c0d4c636b3320e4b0df0260994 /scripts/gdb/linux/tasks.py | |
parent | c83d9ab42f1ef70d81bb3c637a12c098a9a05057 (diff) |
samples/kobject: make kobj_type structure 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 definition 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