projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: Make all initialized struct seq_operations const.
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
ipv4
/
netfilter
/
ipt_recent.c
diff --git
a/net/ipv4/netfilter/ipt_recent.c
b/net/ipv4/netfilter/ipt_recent.c
index a7b14f2ae2dc0c433180e0e381354d17ae66fbf6..3218043156591f874e59deff90f8b5fa7a027d8c 100644
(file)
--- a/
net/ipv4/netfilter/ipt_recent.c
+++ b/
net/ipv4/netfilter/ipt_recent.c
@@
-370,7
+370,7
@@
static int recent_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct seq_operations recent_seq_ops = {
+static
const
struct seq_operations recent_seq_ops = {
.start = recent_seq_start,
.next = recent_seq_next,
.stop = recent_seq_stop,