diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-04 17:16:34 -0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-07 13:40:27 +0000 |
commit | 56b93cd358b304b2d1945c0330dffe8f872bc0d3 (patch) | |
tree | 25147a4ecf9ce2cef9bf68a0ce43fb2c03d1217a /lib/test-string_helpers.c | |
parent | 59d6bccebe5c747d6f4dcbc4862ad7b52571b3fc (diff) |
netdevsim: make nsim_bus const
Now that the driver core can properly handle constant struct bus_type,
move the nsim_bus 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]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions