aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2020-10-04 23:44:17 +0000
committerDavid S. Miller <[email protected]>2020-10-05 04:13:36 +0000
commitb980b313e5a2ace214322af9f3183c269b5c55ae (patch)
treea0df8543af846d2289f60e135fad2509602a555e /drivers/net/dsa/dsa_loop.c
parentmptcp: Constify mptcp_pm_ops (diff)
downloadkernel-b980b313e5a2ace214322af9f3183c269b5c55ae.tar.gz
kernel-b980b313e5a2ace214322af9f3183c269b5c55ae.zip
net: openvswitch: Constify static struct genl_small_ops
The only usage of these is to assign their address to the small_ops field in the genl_family struct, which is a const pointer, and applying ARRAY_SIZE() on them. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions