mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
dlm: make genl_ops const
This table contains function points and should be const. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
1001354ca3
commit
dbef1c0534
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue