]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[NET]: Make all initialized struct seq_operations const.
authorPhilippe De Muyter <phdm@macqel.be>
Wed, 11 Jul 2007 06:07:31 +0000 (23:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2007 06:07:31 +0000 (23:07 -0700)
Make all initialized struct seq_operations in net/ const

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
56 files changed:
net/802/tr.c
net/8021q/vlanproc.c
net/appletalk/aarp.c
net/appletalk/atalk_proc.c
net/atm/br2684.c
net/atm/clip.c
net/atm/lec.c
net/atm/mpoa_proc.c
net/atm/proc.c
net/ax25/af_ax25.c
net/ax25/ax25_route.c
net/ax25/ax25_uid.c
net/decnet/af_decnet.c
net/decnet/dn_dev.c
net/decnet/dn_neigh.c
net/decnet/dn_route.c
net/ipv4/ipvs/ip_vs_app.c
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_ctl.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/netfilter/ipt_recent.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/ipv6/addrconf.c
net/ipv6/anycast.c
net/ipv6/ip6_flowlabel.c
net/ipv6/mcast.c
net/ipv6/raw.c
net/ipx/ipx_proc.c
net/irda/discovery.c
net/irda/ircomm/ircomm_core.c
net/irda/iriap.c
net/irda/irlan/irlan_common.c
net/irda/irlap.c
net/irda/irlmp.c
net/irda/irttp.c
net/llc/llc_proc.c
net/netfilter/nf_conntrack_expect.c
net/netfilter/nf_conntrack_standalone.c
net/netfilter/nf_log.c
net/netfilter/nf_queue.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/netfilter/x_tables.c
net/netfilter/xt_hashlimit.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/netrom/nr_route.c
net/packet/af_packet.c
net/rose/af_rose.c
net/rose/rose_route.c
net/rxrpc/ar-proc.c
net/sctp/proc.c
net/sunrpc/cache.c
net/unix/af_unix.c
net/wanrouter/wanproc.c
net/x25/x25_proc.c

index 0ba1946211c935e79883963c21782f7258bb5726..e56e61a7f5450ad783aa92a510dafab0a7309069 100644 (file)
@@ -567,7 +567,7 @@ static int rif_seq_show(struct seq_file *seq, void *v)
 }
 
 
-static struct seq_operations rif_seq_ops = {
+static const struct seq_operations rif_seq_ops = {
        .start = rif_seq_start,
        .next  = rif_seq_next,
        .stop  = rif_seq_stop,
index 8693b21b3caae070e25bbf5031fe7866ea3222b2..c0040c9064a144a0f7afb3e47411eaed6ce13576 100644 (file)
@@ -69,7 +69,7 @@ static const char name_conf[]  = "config";
  *     Generic /proc/net/vlan/<file> file and inode operations
  */
 
-static struct seq_operations vlan_seq_ops = {
+static const struct seq_operations vlan_seq_ops = {
        .start = vlan_seq_start,
        .next = vlan_seq_next,
        .stop = vlan_seq_stop,
index 5ef6a238bdbc7b043fee57bddaf1433867004775..3d1655f983887593e8541994c17b59e502446667 100644 (file)
@@ -1024,7 +1024,7 @@ static int aarp_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations aarp_seq_ops = {
+static const struct seq_operations aarp_seq_ops = {
        .start  = aarp_seq_start,
        .next   = aarp_seq_next,
        .stop   = aarp_seq_stop,
index 57ff8122b5c59b8da1e0d0a44abce1f38ef710b9..87a582cc811195482a3e2ddd638525db6ae4f4fd 100644 (file)
@@ -204,21 +204,21 @@ out:
        return 0;
 }
 
-static struct seq_operations atalk_seq_interface_ops = {
+static const struct seq_operations atalk_seq_interface_ops = {
        .start  = atalk_seq_interface_start,
        .next   = atalk_seq_interface_next,
        .stop   = atalk_seq_interface_stop,
        .show   = atalk_seq_interface_show,
 };
 
-static struct seq_operations atalk_seq_route_ops = {
+static const struct seq_operations atalk_seq_route_ops = {
        .start  = atalk_seq_route_start,
        .next   = atalk_seq_route_next,
        .stop   = atalk_seq_route_stop,
        .show   = atalk_seq_route_show,
 };
 
-static struct seq_operations atalk_seq_socket_ops = {
+static const struct seq_operations atalk_seq_socket_ops = {
        .start  = atalk_seq_socket_start,
        .next   = atalk_seq_socket_next,
        .stop   = atalk_seq_socket_stop,
index 3e2643893178d6baae15301d4d71eb39825a84a5..faa6aaf67563ff298121518ffc192655a85be2ab 100644 (file)
@@ -758,7 +758,7 @@ static int br2684_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations br2684_seq_ops = {
+static const struct seq_operations br2684_seq_ops = {
        .start = br2684_seq_start,
        .next  = br2684_seq_next,
        .stop  = br2684_seq_stop,
index 876b77f1474521b8e9a77a425cac5e7e53edb2cb..ecf0f79b94ae0d17f9e061433a7e4a9f328f55d9 100644 (file)
@@ -928,7 +928,7 @@ static int clip_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations arp_seq_ops = {
+static const struct seq_operations arp_seq_ops = {
        .start  = clip_seq_start,
        .next   = neigh_seq_next,
        .stop   = neigh_seq_stop,
index 4dc5f2b8c43c23631fe06f45c49ffd2e84a5d786..2770fb451ae87dbe089cc32a16eef523fb18a374 100644 (file)
@@ -1174,7 +1174,7 @@ static int lec_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations lec_seq_ops = {
+static const struct seq_operations lec_seq_ops = {
        .start = lec_seq_start,
        .next = lec_seq_next,
        .stop = lec_seq_stop,
index 4b05cbec7a581c8d44a14dfe3dbcfe593e961c40..91f3ffc90dbdc938a211b46aaccb565a51b5be40 100644 (file)
@@ -177,7 +177,7 @@ static int mpc_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations mpc_op = {
+static const struct seq_operations mpc_op = {
        .start =        mpc_start,
        .next =         mpc_next,
        .stop =         mpc_stop,
index 9e61e512f6670d77f0f7f0e2a55d1f79cb60ff5d..88154da62cd32840c576545410b0f0bc09532b38 100644 (file)
@@ -260,7 +260,7 @@ static int atm_dev_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations atm_dev_seq_ops = {
+static const struct seq_operations atm_dev_seq_ops = {
        .start  = atm_dev_seq_start,
        .next   = atm_dev_seq_next,
        .stop   = atm_dev_seq_stop,
@@ -295,7 +295,7 @@ static int pvc_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations pvc_seq_ops = {
+static const struct seq_operations pvc_seq_ops = {
        .start  = vcc_seq_start,
        .next   = vcc_seq_next,
        .stop   = vcc_seq_stop,
@@ -329,7 +329,7 @@ static int vcc_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations vcc_seq_ops = {
+static const struct seq_operations vcc_seq_ops = {
        .start  = vcc_seq_start,
        .next   = vcc_seq_next,
        .stop   = vcc_seq_stop,
@@ -364,7 +364,7 @@ static int svc_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations svc_seq_ops = {
+static const struct seq_operations svc_seq_ops = {
        .start  = vcc_seq_start,
        .next   = vcc_seq_next,
        .stop   = vcc_seq_stop,
index 429e13a6c6ad41ab7bab2b2d6e6bdde0d57aed1e..c83cf84329700219ed4d16710bebcc5a4cb9f2c6 100644 (file)
@@ -1924,7 +1924,7 @@ static int ax25_info_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ax25_info_seqops = {
+static const struct seq_operations ax25_info_seqops = {
        .start = ax25_info_start,
        .next = ax25_info_next,
        .stop = ax25_info_stop,
index d65b8e22868d9a4c5e1f7a47ddbbfa3cc21080d9..9ecf6f1df863078c3a238a079787123a1df5f437 100644 (file)
@@ -320,7 +320,7 @@ static int ax25_rt_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ax25_rt_seqops = {
+static const struct seq_operations ax25_rt_seqops = {
        .start = ax25_rt_seq_start,
        .next = ax25_rt_seq_next,
        .stop = ax25_rt_seq_stop,
index 75c76647b2cbdf62d0d76948d4558ec272d41cfa..ce0b13d44385fad3c588a0ee7087ee58d6189a2e 100644 (file)
@@ -185,7 +185,7 @@ static int ax25_uid_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ax25_uid_seqops = {
+static const struct seq_operations ax25_uid_seqops = {
        .start = ax25_uid_seq_start,
        .next = ax25_uid_seq_next,
        .stop = ax25_uid_seq_stop,
index bfa910b6ad25935af657beea80cadab38e843ee8..ed76d4aab4a9dd241295463795ce373a7a317833 100644 (file)
@@ -2304,7 +2304,7 @@ static int dn_socket_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations dn_socket_seq_ops = {
+static const struct seq_operations dn_socket_seq_ops = {
        .start  = dn_socket_seq_start,
        .next   = dn_socket_seq_next,
        .stop   = dn_socket_seq_stop,
index e31549e9d07a2d0a274d8f16615293eb5981f599..fa6604fcf0e7875837180953c47db8bd42525098 100644 (file)
@@ -1416,7 +1416,7 @@ static int dn_dev_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations dn_dev_seq_ops = {
+static const struct seq_operations dn_dev_seq_ops = {
        .start  = dn_dev_seq_start,
        .next   = dn_dev_seq_next,
        .stop   = dn_dev_seq_stop,
index 4bf066c416e2d8b0ba1e6160b377cb687081b0b7..174d8a7a6dac7834e3fbcb991388f780e99e2503 100644 (file)
@@ -569,7 +569,7 @@ static void *dn_neigh_seq_start(struct seq_file *seq, loff_t *pos)
                               NEIGH_SEQ_NEIGH_ONLY);
 }
 
-static struct seq_operations dn_neigh_seq_ops = {
+static const struct seq_operations dn_neigh_seq_ops = {
        .start = dn_neigh_seq_start,
        .next  = neigh_seq_next,
        .stop  = neigh_seq_stop,
index a8bf106b7a6118eba109fd559ae6d330fe911a94..82622fb6f68f2acca604610421f9f654548d9d89 100644 (file)
@@ -1726,7 +1726,7 @@ static int dn_rt_cache_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations dn_rt_cache_seq_ops = {
+static const struct seq_operations dn_rt_cache_seq_ops = {
        .start  = dn_rt_cache_seq_start,
        .next   = dn_rt_cache_seq_next,
        .stop   = dn_rt_cache_seq_stop,
index 15ad5dd2d984e7f06b408ee90b66725182f2d1c3..8d6901d4e94f897d850a5399214d82e6dd48c3d5 100644 (file)
@@ -549,7 +549,7 @@ static int ip_vs_app_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ip_vs_app_seq_ops = {
+static const struct seq_operations ip_vs_app_seq_ops = {
        .start = ip_vs_app_seq_start,
        .next  = ip_vs_app_seq_next,
        .stop  = ip_vs_app_seq_stop,
index 7018f97c75dc64f18af0ffbced9734c1cf8d2dc7..3b446b1a6b9c8b7b0a49642b0692d78ee2f9d212 100644 (file)
@@ -745,7 +745,7 @@ static int ip_vs_conn_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ip_vs_conn_seq_ops = {
+static const struct seq_operations ip_vs_conn_seq_ops = {
        .start = ip_vs_conn_seq_start,
        .next  = ip_vs_conn_seq_next,
        .stop  = ip_vs_conn_seq_stop,
index 68fe1d4d0210384d358947acbdd55ed17bdc4f8d..e1052bcf4ed190ecefc35c7380eaa0be407c6b24 100644 (file)
@@ -1783,7 +1783,7 @@ static int ip_vs_info_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ip_vs_info_seq_ops = {
+static const struct seq_operations ip_vs_info_seq_ops = {
        .start = ip_vs_info_seq_start,
        .next  = ip_vs_info_seq_next,
        .stop  = ip_vs_info_seq_stop,
index 8bacda3f6f6c4d5cc2379385e9c8c282f7471f4e..dcc12b1834747a513a7468f780604b738124f0c2 100644 (file)
@@ -639,7 +639,7 @@ static int clusterip_seq_show(struct seq_file *s, void *v)
        return 0;
 }
 
-static struct seq_operations clusterip_seq_ops = {
+static const struct seq_operations clusterip_seq_ops = {
        .start  = clusterip_seq_start,
        .next   = clusterip_seq_next,
        .stop   = clusterip_seq_stop,
index a7b14f2ae2dc0c433180e0e381354d17ae66fbf6..3218043156591f874e59deff90f8b5fa7a027d8c 100644 (file)
@@ -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,
index 434e0841087998df4665e84b1528b3e81a6cdbc9..3da9d73d1b52be43171b57c502e80a33e33d97ba 100644 (file)
@@ -164,7 +164,7 @@ static int ct_seq_show(struct seq_file *s, void *v)
        return 0;
 }
 
-static struct seq_operations ct_seq_ops = {
+static const struct seq_operations ct_seq_ops = {
        .start = ct_seq_start,
        .next  = ct_seq_next,
        .stop  = ct_seq_stop,
@@ -282,7 +282,7 @@ static int exp_seq_show(struct seq_file *s, void *v)
        return seq_putc(s, '\n');
 }
 
-static struct seq_operations exp_seq_ops = {
+static const struct seq_operations exp_seq_ops = {
        .start = exp_seq_start,
        .next = exp_seq_next,
        .stop = exp_seq_stop,
@@ -386,7 +386,7 @@ static int ct_cpu_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ct_cpu_seq_ops = {
+static const struct seq_operations ct_cpu_seq_ops = {
        .start  = ct_cpu_seq_start,
        .next   = ct_cpu_seq_next,
        .stop   = ct_cpu_seq_stop,
index 95737ab040ec2ecaebaec044bfae2caa899a8a19..24424c3b7dc0e5918bb0b35295db8f73d0ee7591 100644 (file)
@@ -2785,7 +2785,7 @@ static int if6_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations if6_seq_ops = {
+static const struct seq_operations if6_seq_ops = {
        .start  = if6_seq_start,
        .next   = if6_seq_next,
        .show   = if6_seq_show,
index 9b81264eb78f2b0fcdf336f1b52c1df02f094be1..b8c533fbdb63f0ab320b7d27735f2e5a6ea2b040 100644 (file)
@@ -539,7 +539,7 @@ static int ac6_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ac6_seq_ops = {
+static const struct seq_operations ac6_seq_ops = {
        .start  =       ac6_seq_start,
        .next   =       ac6_seq_next,
        .stop   =       ac6_seq_stop,
index c206a152ed9d8b4a1b82aa9df925f08ab3713458..413a4ebb195c728ea86990e038412941c7370ad7 100644 (file)
@@ -648,7 +648,7 @@ static int ip6fl_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ip6fl_seq_ops = {
+static const struct seq_operations ip6fl_seq_ops = {
        .start  =       ip6fl_seq_start,
        .next   =       ip6fl_seq_next,
        .stop   =       ip6fl_seq_stop,
index 3e308fb41b49a8ff8f73b1666b724bab1325a8db..ae9881832a7ec548ae3c77456dc5089f01b49337 100644 (file)
@@ -2423,7 +2423,7 @@ static int igmp6_mc_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations igmp6_mc_seq_ops = {
+static const struct seq_operations igmp6_mc_seq_ops = {
        .start  =       igmp6_mc_seq_start,
        .next   =       igmp6_mc_seq_next,
        .stop   =       igmp6_mc_seq_stop,
@@ -2597,7 +2597,7 @@ static int igmp6_mcf_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations igmp6_mcf_seq_ops = {
+static const struct seq_operations igmp6_mcf_seq_ops = {
        .start  =       igmp6_mcf_seq_start,
        .next   =       igmp6_mcf_seq_next,
        .stop   =       igmp6_mcf_seq_stop,
index aac6aeb8de8c85f1b3d8099959e5f672a578e746..e27383d855dedfeffc1855ec906ea2522c8344e2 100644 (file)
@@ -1280,7 +1280,7 @@ static int raw6_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations raw6_seq_ops = {
+static const struct seq_operations raw6_seq_ops = {
        .start =        raw6_seq_start,
        .next =         raw6_seq_next,
        .stop =         raw6_seq_stop,
index db32ac8e79bd6ed5b9e7b7b84f6aa67bfafcfead..4226e71ae1e3d04c9642c26d0cd4132f3765b674 100644 (file)
@@ -286,21 +286,21 @@ out:
        return 0;
 }
 
-static struct seq_operations ipx_seq_interface_ops = {
+static const struct seq_operations ipx_seq_interface_ops = {
        .start  = ipx_seq_interface_start,
        .next   = ipx_seq_interface_next,
        .stop   = ipx_seq_interface_stop,
        .show   = ipx_seq_interface_show,
 };
 
-static struct seq_operations ipx_seq_route_ops = {
+static const struct seq_operations ipx_seq_route_ops = {
        .start  = ipx_seq_route_start,
        .next   = ipx_seq_route_next,
        .stop   = ipx_seq_route_stop,
        .show   = ipx_seq_route_show,
 };
 
-static struct seq_operations ipx_seq_socket_ops = {
+static const struct seq_operations ipx_seq_socket_ops = {
        .start  = ipx_seq_socket_start,
        .next   = ipx_seq_socket_next,
        .stop   = ipx_seq_interface_stop,
index f097341286740182d5726ebb2bb5e0c43fcf8e2a..af0cea721d2acd19cfd16f83efed38b6d18826b6 100644 (file)
@@ -395,7 +395,7 @@ static int discovery_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations discovery_seq_ops = {
+static const struct seq_operations discovery_seq_ops = {
        .start  = discovery_seq_start,
        .next   = discovery_seq_next,
        .stop   = discovery_seq_stop,
index 4749f8f55391a32d8e5c46abb6a900f1db799636..2d63fa8e155641f1bf4937ee0c733041f97000e5 100644 (file)
@@ -562,7 +562,7 @@ static int ircomm_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ircomm_seq_ops = {
+static const struct seq_operations ircomm_seq_ops = {
        .start  = ircomm_seq_start,
        .next   = ircomm_seq_next,
        .stop   = ircomm_seq_stop,
index 915d9384f36a1784fe84f476b4c48f099a82168c..774eb707940c5929010254cd092fedb87e519548 100644 (file)
@@ -1066,7 +1066,7 @@ static int irias_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irias_seq_ops = {
+static const struct seq_operations irias_seq_ops = {
        .start  = irias_seq_start,
        .next   = irias_seq_next,
        .stop   = irias_seq_stop,
index ed69773b0f8ed8d2d1dd3183fbb97d6c1984f75e..f5778ef3ccc7213ac7e3b179813324aa2973a1c7 100644 (file)
@@ -1217,7 +1217,7 @@ static int irlan_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irlan_seq_ops = {
+static const struct seq_operations irlan_seq_ops = {
        .start = irlan_seq_start,
        .next  = irlan_seq_next,
        .stop  = irlan_seq_stop,
index d93ebd11431e86b2c82f65fc220e7e1316abfc50..2fc9f518f89db45771d3514bc9bee1bbef27f96b 100644 (file)
@@ -1210,7 +1210,7 @@ static int irlap_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irlap_seq_ops = {
+static const struct seq_operations irlap_seq_ops = {
        .start  = irlap_seq_start,
        .next   = irlap_seq_next,
        .stop   = irlap_seq_stop,
index 9df0461b6d18fe8b6750b77c2d1bbc716236ca60..24a5e3f237782b5017330b14ea58d2b401e3a1a7 100644 (file)
@@ -1994,7 +1994,7 @@ static int irlmp_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irlmp_seq_ops = {
+static const struct seq_operations irlmp_seq_ops = {
        .start  = irlmp_seq_start,
        .next   = irlmp_seq_next,
        .stop   = irlmp_seq_stop,
index ce4647542b9e49e6ee0694354f87221b435bb17c..7f50832a2cd5a2349e8f76dc0dd3a2141d3a9df7 100644 (file)
@@ -1875,7 +1875,7 @@ static int irttp_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations irttp_seq_ops = {
+static const struct seq_operations irttp_seq_ops = {
        .start  = irttp_seq_start,
        .next   = irttp_seq_next,
        .stop   = irttp_seq_stop,
index 3ab9d9f8b17fc8d4368dd03e32ff134c9e8776fa..49be6c902c8326790898fc982b75ae3b7ca4874c 100644 (file)
@@ -184,14 +184,14 @@ out:
        return 0;
 }
 
-static struct seq_operations llc_seq_socket_ops = {
+static const struct seq_operations llc_seq_socket_ops = {
        .start  = llc_seq_start,
        .next   = llc_seq_next,
        .stop   = llc_seq_stop,
        .show   = llc_seq_socket_show,
 };
 
-static struct seq_operations llc_seq_core_ops = {
+static const struct seq_operations llc_seq_core_ops = {
        .start  = llc_seq_start,
        .next   = llc_seq_next,
        .stop   = llc_seq_stop,
index 513828fdaa2c89ba5a3e5c8a0e23b9b0239edfff..2191fe008f60d9800f753df273f0d510a3419dd0 100644 (file)
@@ -464,7 +464,7 @@ static int exp_seq_show(struct seq_file *s, void *v)
        return seq_putc(s, '\n');
 }
 
-static struct seq_operations exp_seq_ops = {
+static const struct seq_operations exp_seq_ops = {
        .start = exp_seq_start,
        .next = exp_seq_next,
        .stop = exp_seq_stop,
index 54498bcfa862406a730c87bd404faa47d30cfa33..ffb6ff8c352807b511c7e6649ab3ca2051d67b0f 100644 (file)
@@ -185,7 +185,7 @@ static int ct_seq_show(struct seq_file *s, void *v)
        return 0;
 }
 
-static struct seq_operations ct_seq_ops = {
+static const struct seq_operations ct_seq_ops = {
        .start = ct_seq_start,
        .next  = ct_seq_next,
        .stop  = ct_seq_stop,
@@ -289,7 +289,7 @@ static int ct_cpu_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ct_cpu_seq_ops = {
+static const struct seq_operations ct_cpu_seq_ops = {
        .start  = ct_cpu_seq_start,
        .next   = ct_cpu_seq_next,
        .stop   = ct_cpu_seq_stop,
index 91b220cf5a1fee639d506c3ba48a69f1fc7e9664..94985792b79ac65a9e3eb5ac8b04704cd2004b3b 100644 (file)
@@ -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,
index 823fbf404566da699212f47f56bf5ab73814f441..a481a349f7bf6b5e29d00e75343f5a5934b47f1a 100644 (file)
@@ -330,7 +330,7 @@ static int seq_show(struct seq_file *s, void *v)
        return ret;
 }
 
-static struct seq_operations nfqueue_seq_ops = {
+static const struct seq_operations nfqueue_seq_ops = {
        .start  = seq_start,
        .next   = seq_next,
        .stop   = seq_stop,
index e32e30e7a17caeec6d1a21841045ab5ff92b6586..e185a5b55913ce8b37af7de85b5e9a9f8b46f2e1 100644 (file)
@@ -962,7 +962,7 @@ static int seq_show(struct seq_file *s, void *v)
                          inst->flushtimeout, atomic_read(&inst->use));
 }
 
-static struct seq_operations nful_seq_ops = {
+static const struct seq_operations nful_seq_ops = {
        .start  = seq_start,
        .next   = seq_next,
        .stop   = seq_stop,
index 7d47fc4b19c67dab1be3b5d6302ec579e301bc67..bb65a38c816c79d88561feaacaa6734df57a6a5e 100644 (file)
@@ -1048,7 +1048,7 @@ static int seq_show(struct seq_file *s, void *v)
                          atomic_read(&inst->use));
 }
 
-static struct seq_operations nfqnl_seq_ops = {
+static const struct seq_operations nfqnl_seq_ops = {
        .start  = seq_start,
        .next   = seq_next,
        .stop   = seq_stop,
index 520eddf4d61b9a1a3cc29e6b22acbd39ba8995a3..cc2baa6d5a7ac5d75d6a9ec3686e755787dc64ff 100644 (file)
@@ -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,
index 5a6ea9b9108c4daa0288a678a3ddd9bfdf2e16b3..d6b3d01975b6e5664b969e1ce81bb2f11fa2adcb 100644 (file)
@@ -701,7 +701,7 @@ static int dl_seq_show(struct seq_file *s, void *v)
        return 0;
 }
 
-static struct seq_operations dl_seq_ops = {
+static const struct seq_operations dl_seq_ops = {
        .start = dl_seq_start,
        .next  = dl_seq_next,
        .stop  = dl_seq_stop,
index 1f15821c8da4c64894fd7e07d8340a8b8c430b4a..a3c8e692f493902b0b7eb916dbfd4c781fe6d3d5 100644 (file)
@@ -1713,7 +1713,7 @@ static int netlink_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations netlink_seq_ops = {
+static const struct seq_operations netlink_seq_ops = {
        .start  = netlink_seq_start,
        .next   = netlink_seq_next,
        .stop   = netlink_seq_stop,
index 5d4a26c2aa0c7027a0e8c906600ef3a46f5af607..5d66490dd290a07a7c989465ee5b21c98aed2a83 100644 (file)
@@ -1328,7 +1328,7 @@ static int nr_info_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations nr_info_seqops = {
+static const struct seq_operations nr_info_seqops = {
        .start = nr_info_start,
        .next = nr_info_next,
        .stop = nr_info_stop,
index 2f76e062609d581b7ab7066c017fa9bf5e651983..24fe4a66d297d37ebc9600c3e15f263122a53d30 100644 (file)
@@ -922,7 +922,7 @@ static int nr_node_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations nr_node_seqops = {
+static const struct seq_operations nr_node_seqops = {
        .start = nr_node_start,
        .next = nr_node_next,
        .stop = nr_node_stop,
@@ -1006,7 +1006,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations nr_neigh_seqops = {
+static const struct seq_operations nr_neigh_seqops = {
        .start = nr_neigh_start,
        .next = nr_neigh_next,
        .stop = nr_neigh_stop,
index f8b83014cccad9ad56108cd1f6a3dce8b71f2b1d..7c27bd389b7ef29c3cdb2b9c6f978d733ff726c3 100644 (file)
@@ -1928,7 +1928,7 @@ static int packet_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations packet_seq_ops = {
+static const struct seq_operations packet_seq_ops = {
        .start  = packet_seq_start,
        .next   = packet_seq_next,
        .stop   = packet_seq_stop,
index d476c43d52169082f65f3da2be124470a23786d6..f4d3aba008009298fc1b77a5314005225392bcfb 100644 (file)
@@ -1454,7 +1454,7 @@ static int rose_info_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations rose_info_seqops = {
+static const struct seq_operations rose_info_seqops = {
        .start = rose_info_start,
        .next = rose_info_next,
        .stop = rose_info_stop,
index 929a784a86d72cef17e10bf98bca7a178a474eae..bbcbad1da0d0facf25941e74a703bde898d941cd 100644 (file)
@@ -1118,7 +1118,7 @@ static int rose_node_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations rose_node_seqops = {
+static const struct seq_operations rose_node_seqops = {
        .start = rose_node_start,
        .next = rose_node_next,
        .stop = rose_node_stop,
@@ -1200,7 +1200,7 @@ static int rose_neigh_show(struct seq_file *seq, void *v)
 }
 
 
-static struct seq_operations rose_neigh_seqops = {
+static const struct seq_operations rose_neigh_seqops = {
        .start = rose_neigh_start,
        .next = rose_neigh_next,
        .stop = rose_neigh_stop,
@@ -1284,7 +1284,7 @@ static int rose_route_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations rose_route_seqops = {
+static const struct seq_operations rose_route_seqops = {
        .start = rose_route_start,
        .next = rose_route_next,
        .stop = rose_route_stop,
index 77cc5fb17dcd11e27e1ef9b888f8d178bf929fec..2e83ce325d151e090e05cc0c18e2de55cd82a04d 100644 (file)
@@ -86,7 +86,7 @@ static int rxrpc_call_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations rxrpc_call_seq_ops = {
+static const struct seq_operations rxrpc_call_seq_ops = {
        .start  = rxrpc_call_seq_start,
        .next   = rxrpc_call_seq_next,
        .stop   = rxrpc_call_seq_stop,
@@ -170,7 +170,7 @@ static int rxrpc_connection_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations rxrpc_connection_seq_ops = {
+static const struct seq_operations rxrpc_connection_seq_ops = {
        .start  = rxrpc_connection_seq_start,
        .next   = rxrpc_connection_seq_next,
        .stop   = rxrpc_connection_seq_stop,
index 2f12bf2d8d3c622f5f134cf1fa3308d7fab015fd..e4cd841a22e478793e85e2701dc4da30b60db4b7 100644 (file)
@@ -250,7 +250,7 @@ static int sctp_eps_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations sctp_eps_ops = {
+static const struct seq_operations sctp_eps_ops = {
        .start = sctp_eps_seq_start,
        .next  = sctp_eps_seq_next,
        .stop  = sctp_eps_seq_stop,
@@ -361,7 +361,7 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations sctp_assoc_ops = {
+static const struct seq_operations sctp_assoc_ops = {
        .start = sctp_assocs_seq_start,
        .next  = sctp_assocs_seq_next,
        .stop  = sctp_assocs_seq_stop,
index 543b085ae2c188300d43105262ec22653cc32017..01c3c41052048253b309946d62b9d7c65afea0e3 100644 (file)
@@ -1210,7 +1210,7 @@ static int c_show(struct seq_file *m, void *p)
        return cd->cache_show(m, cd, cp);
 }
 
-static struct seq_operations cache_content_op = {
+static const struct seq_operations cache_content_op = {
        .start  = c_start,
        .next   = c_next,
        .stop   = c_stop,
index d70fa30d4294383f4cbdc45feec8a1df90f65a2b..3654b647ac79dd0de7c88f8d88aae657269f68b6 100644 (file)
@@ -2048,7 +2048,7 @@ static int unix_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations unix_seq_ops = {
+static const struct seq_operations unix_seq_ops = {
        .start  = unix_seq_start,
        .next   = unix_seq_next,
        .stop   = unix_seq_stop,
index 205106521ecba36c886f5dbf90064798e3da2d25..236e7eaf1b7f4d6069efa61b16b4aedcc1ef238e 100644 (file)
@@ -164,14 +164,14 @@ static int status_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations config_op = {
+static const struct seq_operations config_op = {
        .start  = r_start,
        .next   = r_next,
        .stop   = r_stop,
        .show   = config_show,
 };
 
-static struct seq_operations status_op = {
+static const struct seq_operations status_op = {
        .start  = r_start,
        .next   = r_next,
        .stop   = r_stop,
index 96001f0c64fc16a8f4cd32512bb31adab912ec5f..7405b9c5b7f2dfa2734adf7946515f0219f67728 100644 (file)
@@ -234,21 +234,21 @@ out:
        return 0;
 }
 
-static struct seq_operations x25_seq_route_ops = {
+static const struct seq_operations x25_seq_route_ops = {
        .start  = x25_seq_route_start,
        .next   = x25_seq_route_next,
        .stop   = x25_seq_route_stop,
        .show   = x25_seq_route_show,
 };
 
-static struct seq_operations x25_seq_socket_ops = {
+static const struct seq_operations x25_seq_socket_ops = {
        .start  = x25_seq_socket_start,
        .next   = x25_seq_socket_next,
        .stop   = x25_seq_socket_stop,
        .show   = x25_seq_socket_show,
 };
 
-static struct seq_operations x25_seq_forward_ops = {
+static const struct seq_operations x25_seq_forward_ops = {
        .start  = x25_seq_forward_start,
        .next   = x25_seq_forward_next,
        .stop   = x25_seq_forward_stop,