lkml.org 
[lkml]   [2007]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] net : make netlink_seq_ops const
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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-07-06 14:51    [W:0.052 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site