diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-17 03:14:41 +0000 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2023-03-09 11:15:42 +0100 |
commit | 1b47b80e2fa777b37a9486512f4636d7e6aaa353 (patch) | |
tree | 03a1bf23ec0ce136d851b0acc59019d208fd2d38 /ipc/syscall.c | |
parent | 7dd86cf80127aeef8a447c81228a77f0f25cc211 (diff) | |
download | linux-1b47b80e2fa777b37a9486512f4636d7e6aaa353.tar.gz linux-1b47b80e2fa777b37a9486512f4636d7e6aaa353.tar.bz2 linux-1b47b80e2fa777b37a9486512f4636d7e6aaa353.zip |
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 <linux@weissschuh.net>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230217-kobj_type-livepatch-v1-1-06ded292e897@weissschuh.net
Diffstat (limited to 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions