aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-04 20:16:34 +0000
committerDavid S. Miller <[email protected]>2024-02-07 13:40:27 +0000
commit56b93cd358b304b2d1945c0330dffe8f872bc0d3 (patch)
tree25147a4ecf9ce2cef9bf68a0ce43fb2c03d1217a /drivers/net/ethernet/intel/igc/igc_main.c
parentnet: tipc: remove redundant 'bool' from CONFIG_TIPC_{MEDIA_UDP,CRYPTO} (diff)
downloadkernel-56b93cd358b304b2d1945c0330dffe8f872bc0d3.tar.gz
kernel-56b93cd358b304b2d1945c0330dffe8f872bc0d3.zip
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 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions