Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbef1c05 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David Teigland
Browse files

dlm: make genl_ops const



This table contains function points and should be const.

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 1001354c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -69,7 +69,7 @@ static int user_cmd(struct sk_buff *skb, struct genl_info *info)
	return 0;
	return 0;
}
}


static struct genl_ops dlm_nl_ops[] = {
static const struct genl_ops dlm_nl_ops[] = {
	{
	{
		.cmd	= DLM_CMD_HELLO,
		.cmd	= DLM_CMD_HELLO,
		.doit	= user_cmd,
		.doit	= user_cmd,