mbox series

[net-next,0/2] net: Constify struct genl_ops

Message ID 20201004215810.26872-1-rikard.falkeborn@gmail.com
Headers show
Series net: Constify struct genl_ops | expand

Message

Rikard Falkeborn Oct. 4, 2020, 9:58 p.m. UTC
Make a couple of static struct genl_ops const to allow the compiler to put
them in read-only memory. Patches are independent.

Rikard Falkeborn (2):
  mptcp: Constify mptcp_pm_ops
  net: openvswitch: Constify static struct genl_ops

 net/mptcp/pm_netlink.c      | 2 +-
 net/openvswitch/conntrack.c | 2 +-
 net/openvswitch/meter.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

David Miller Oct. 4, 2020, 10:06 p.m. UTC | #1
From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Date: Sun,  4 Oct 2020 23:58:08 +0200

> Make a couple of static struct genl_ops const to allow the compiler to put
> them in read-only memory. Patches are independent.

These do not apply cleanly to net-next, please respin.