All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH] scsi/mesh: module_param corrections
Date: Sat, 13 Nov 2004 14:37:48 -0800	[thread overview]
Message-ID: <41968CBC.2050301@osdl.org> (raw)
In-Reply-To: <Pine.GSO.4.61.0411121232570.27077@waterleaf.sonytel.be>

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]


Correct MODULE_PARM to module_param (somehow I changed the
macro parameters but not the macro invocation).

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
  drivers/scsi/mesh.c |   10 +++++-----
  1 files changed, 5 insertions(+), 5 deletions(-)


-- 

[-- Attachment #2: mesh_modprm.patch --]
[-- Type: text/x-patch, Size: 1178 bytes --]

diff -Naurp ./drivers/scsi/mesh.c~mesh_modprm ./drivers/scsi/mesh.c
--- ./drivers/scsi/mesh.c~mesh_modprm	2004-11-13 14:19:12.141219000 -0800
+++ ./drivers/scsi/mesh.c	2004-11-13 14:31:47.915324320 -0800
@@ -66,15 +66,15 @@ static int resel_targets = 0xff;
 static int debug_targets = 0;	/* print debug for these targets */
 static int init_reset_delay = CONFIG_SCSI_MESH_RESET_DELAY_MS;
 
-MODULE_PARM(sync_rate, int, 0);
+module_param(sync_rate, int, 0);
 MODULE_PARM_DESC(sync_rate, "Synchronous rate (0..10, 0=async)");
-MODULE_PARM(sync_targets, int, 0);
+module_param(sync_targets, int, 0);
 MODULE_PARM_DESC(sync_targets, "Bitmask of targets allowed to set synchronous");
-MODULE_PARM(resel_targets, int, 0);
+module_param(resel_targets, int, 0);
 MODULE_PARM_DESC(resel_targets, "Bitmask of targets allowed to set disconnect");
-MODULE_PARM(debug_targets, int, 0644);
+module_param(debug_targets, int, 0644);
 MODULE_PARM_DESC(debug_targets, "Bitmask of debugged targets");
-MODULE_PARM(init_reset_delay, int, 0);
+module_param(init_reset_delay, int, 0);
 MODULE_PARM_DESC(init_reset_delay, "Initial bus reset delay (0=no reset)");
 
 static int mesh_sync_period = 100;

      reply	other threads:[~2004-11-13 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200411112325.iABNPsWo013185@hera.kernel.org>
2004-11-12 11:34 ` [PATCH] more MODULE_PARM conversions Geert Uytterhoeven
2004-11-13 22:37   ` Randy.Dunlap [this message]

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=41968CBC.2050301@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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.