All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.