public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Dittmer <jdittmer@sfhq.hn.org>
To: <linux-kernel@vger.kernel.org>
Cc: <bcollins@debian.org>, <jdittmer@ppp0.net>
Subject: [PATCH] eth1394 MODULE_PARM conversion
Date: Sat, 13 Nov 2004 22:07:29 +0100	[thread overview]
Message-ID: <E1CT57J-0006SH-00@ds666> (raw)

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/11/13 21:45:13+01:00 jdittmer@ds666.starfleet 
#   MODULE_PARM conversion
# 
# drivers/ieee1394/eth1394.c
#   2004/11/13 21:45:05+01:00 jdittmer@ds666.starfleet +2 -2
#   Convert MODULE_PARM to module_param
# 
diff -Nru a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c
--- a/drivers/ieee1394/eth1394.c	2004-11-13 22:07:29 +01:00
+++ b/drivers/ieee1394/eth1394.c	2004-11-13 22:07:29 +01:00
@@ -168,11 +168,11 @@
  * consume in the event that some partial datagrams are never completed.  This
  * should probably change to a sysctl item or the like if possible.
  */
-MODULE_PARM(max_partial_datagrams, "i");
+static int max_partial_datagrams = 25;
+module_param(max_partial_datagrams, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(max_partial_datagrams,
 		 "Maximum number of partially received fragmented datagrams "
 		 "(default = 25).");
-static int max_partial_datagrams = 25;
 
 
 static int ether1394_header(struct sk_buff *skb, struct net_device *dev,

                 reply	other threads:[~2004-11-13 21:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1CT57J-0006SH-00@ds666 \
    --to=jdittmer@sfhq.hn.org \
    --cc=bcollins@debian.org \
    --cc=jdittmer@ppp0.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox