projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1001354
)
dlm: make genl_ops const
author
Stephen Hemminger
<stephen@networkplumber.org>
Wed, 31 Aug 2016 17:26:28 +0000
(10:26 -0700)
committer
David Teigland
<teigland@redhat.com>
Wed, 19 Oct 2016 16:00:03 +0000
(11:00 -0500)
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>
fs/dlm/netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dlm/netlink.c
b/fs/dlm/netlink.c
index 1e6e227134d7b5dae4fa3fc43feafeb994bfa708..934ab06406100c0336f73607a12f7023065fb4f3 100644
(file)
--- 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,