diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-02-15 07:48:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-15 07:48:10 +0300 |
commit | 1daa8e25ed971eca8cd8c8dfd4d6d6541b1d62a2 (patch) | |
tree | 8881cbdbc87c7f6251978e6a7b712fd3afba0839 /net/ipv6/ipv6_sockglue.c | |
parent | 56193cf96f00e9ae4fc95d31c9725c3642ef1e99 (diff) | |
parent | b2793517052d9771fbc0bc3db09693aa850eb3de (diff) | |
download | linux-1daa8e25ed971eca8cd8c8dfd4d6d6541b1d62a2.tar.xz |
Merge branch 'net-make-kobj_type-structures-constant'
Thomas Weißschuh says:
====================
net: 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.
====================
Link: https://lore.kernel.org/r/20230211-kobj_type-net-v2-0-013b59e59bf3@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/ipv6_sockglue.c')
0 files changed, 0 insertions, 0 deletions