projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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/exynos8895/android_kernel_samsung_universal8895.git]
/
net
/
netfilter
/
x_tables.c
diff --git
a/net/netfilter/x_tables.c
b/net/netfilter/x_tables.c
index 520eddf4d61b9a1a3cc29e6b22acbd39ba8995a3..cc2baa6d5a7ac5d75d6a9ec3686e755787dc64ff 100644
(file)
--- a/
net/netfilter/x_tables.c
+++ b/
net/netfilter/x_tables.c
@@
-745,7
+745,7
@@
static int xt_name_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct seq_operations xt_tgt_seq_ops = {
+static
const
struct seq_operations xt_tgt_seq_ops = {
.start = xt_tgt_seq_start,
.next = xt_tgt_seq_next,
.stop = xt_tgt_seq_stop,