diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-08 04:01:22 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-09 09:38:16 -0700 |
commit | 5f6224175fbe4c2b91e303c17af4d4eb5e3a60a7 (patch) | |
tree | 8fc6f64b728435566204bb7c34ef900d5bae82c8 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 23f3e3272e7a4d9fb870485cd6df1e4f9539282c (diff) |
block: 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: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions