From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Date: Wed, 31 Aug 2016 10:26:28 -0700 Subject: [Cluster-devel] [PATCH] dlm: make genl_ops const Message-ID: <20160831102628.4e81528a@xeon-e3> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This table contains function points and should be const. Signed-off-by: Stephen Hemminger --- fs/dlm/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/dlm/netlink.c b/fs/dlm/netlink.c index 1e6e227..934ab06 100644 --- a/fs/dlm/netlink.c +++ b/fs/dlm/netlink.c @@ -69,7 +69,7 @@ static int user_cmd(struct sk_buff *skb, struct genl_info *info) return 0; } -static struct genl_ops dlm_nl_ops[] = { +static const struct genl_ops dlm_nl_ops[] = { { .cmd = DLM_CMD_HELLO, .doit = user_cmd, -- 2.9.3