From: Jan Dittmer <jdittmer@ppp0.net>
To: Linux kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] sr module_param conversion
Date: Sun, 14 Nov 2004 00:40:21 +0100 [thread overview]
Message-ID: <41969B65.9000807@ppp0.net> (raw)
module_param conversion for SCSI cdrom driver
Signed-off-by: Jan Dittmer <jdittmer@ppp0.net>
diff -Nru a/drivers/scsi/sr.c b/drivers/scsi/sr.c
--- a/drivers/scsi/sr.c 2004-11-14 00:36:56 +01:00
+++ b/drivers/scsi/sr.c 2004-11-14 00:36:56 +01:00
@@ -59,9 +59,6 @@
#include "sr.h"
-MODULE_PARM(xa_test, "i"); /* see sr_ioctl.c */
-
-
#define SR_DISKS 256
#define MAX_RETRIES 3
diff -Nru a/drivers/scsi/sr_ioctl.c b/drivers/scsi/sr_ioctl.c
--- a/drivers/scsi/sr_ioctl.c 2004-11-14 00:36:56 +01:00
+++ b/drivers/scsi/sr_ioctl.c 2004-11-14 00:36:56 +01:00
@@ -29,6 +29,9 @@
* It is off by default and can be turned on with this module parameter */
static int xa_test = 0;
+module_param(xa_test, int, S_IRUGO | S_IWUSR);
+
+
#define IOCTL_RETRIES 3
/* ATAPI drives don't have a SCMD_PLAYAUDIO_TI command. When these drives
next reply other threads:[~2004-11-13 23:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-13 23:40 Jan Dittmer [this message]
2004-11-21 11:13 ` [PATCH] sr module_param conversion Rolf Eike Beer
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=41969B65.9000807@ppp0.net \
--to=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 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.