diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-03 15:53:38 -0300 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2024-02-13 09:03:34 +0100 |
commit | b0f2f82c9c16427722b8782371c2efe82b1f815c (patch) | |
tree | b74ec628a25932504517074be3a2edc456160114 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2528dcbea94496f080aad9311327baedc11831d7 (diff) |
xen: balloon: make balloon_subsys const
Now that the driver core can properly handle constant struct bus_type,
move the balloon_subsys variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions