All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe De Muyter <phdm@macqel.be>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] net : make netlink_seq_ops const
Date: Fri, 6 Jul 2007 14:48:29 +0200	[thread overview]
Message-ID: <20070706124829.GA12930@muff.macqel.be> (raw)

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,

             reply	other threads:[~2007-07-06 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 12:48 Philippe De Muyter [this message]
2007-07-06 12:52 ` [PATCH] net : make netlink_seq_ops const Patrick McHardy
2007-07-06 13:24   ` Philippe De Muyter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070706124829.GA12930@muff.macqel.be \
    --to=phdm@macqel.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.