* [PATCH] net : make netlink_seq_ops const
@ 2007-07-06 12:48 Philippe De Muyter
2007-07-06 12:52 ` Patrick McHardy
0 siblings, 1 reply; 3+ messages in thread
From: Philippe De Muyter @ 2007-07-06 12:48 UTC (permalink / raw)
To: linux-kernel
Hi all,
Make netlink_seq_ops const
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
diff -r 6c0a10cc415a net/netlink/af_netlink.c
--- a/net/netlink/af_netlink.c Thu Jul 5 16:10:16 2007 -0700
+++ b/net/netlink/af_netlink.c Fri Jul 6 14:43:30 2007 +0200
@@ -1713,7 +1713,7 @@ static int netlink_seq_show(struct seq_f
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,
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] net : make netlink_seq_ops const 2007-07-06 12:48 [PATCH] net : make netlink_seq_ops const Philippe De Muyter @ 2007-07-06 12:52 ` Patrick McHardy 2007-07-06 13:24 ` Philippe De Muyter 0 siblings, 1 reply; 3+ messages in thread From: Patrick McHardy @ 2007-07-06 12:52 UTC (permalink / raw) To: Philippe De Muyter; +Cc: linux-kernel, Linux Netdev List [please send networking patches to netdev] Philippe De Muyter wrote: > Hi all, > > Make netlink_seq_ops const Might make more sense to do a big patch for all occurences of this in net/: # grep "^static struct seq_operations" -r net/ | wc -l 76 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net : make netlink_seq_ops const 2007-07-06 12:52 ` Patrick McHardy @ 2007-07-06 13:24 ` Philippe De Muyter 0 siblings, 0 replies; 3+ messages in thread From: Philippe De Muyter @ 2007-07-06 13:24 UTC (permalink / raw) To: Patrick McHardy; +Cc: linux-kernel, Linux Netdev List On Fri, Jul 06, 2007 at 02:52:11PM +0200, Patrick McHardy wrote: > [please send networking patches to netdev] > > Philippe De Muyter wrote: > > Hi all, > > > > Make netlink_seq_ops const > > > Might make more sense to do a big patch for all occurences of this > in net/: > > # grep "^static struct seq_operations" -r net/ | wc -l > 76 OK Philippe ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-06 13:24 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-07-06 12:48 [PATCH] net : make netlink_seq_ops const Philippe De Muyter 2007-07-06 12:52 ` Patrick McHardy 2007-07-06 13:24 ` Philippe De Muyter
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.