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
/
nf_log.c
diff --git
a/net/netfilter/nf_log.c
b/net/netfilter/nf_log.c
index 91b220cf5a1fee639d506c3ba48a69f1fc7e9664..94985792b79ac65a9e3eb5ac8b04704cd2004b3b 100644
(file)
--- a/
net/netfilter/nf_log.c
+++ b/
net/netfilter/nf_log.c
@@
-140,7
+140,7
@@
static int seq_show(struct seq_file *s, void *v)
return seq_printf(s, "%2lld %s\n", *pos, logger->name);
}
-static struct seq_operations nflog_seq_ops = {
+static
const
struct seq_operations nflog_seq_ops = {
.start = seq_start,
.next = seq_next,
.stop = seq_stop,