LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] correct ps2esdi module parm name
@ 2004-05-17  4:39 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-05-17  4:39 UTC (permalink / raw)
  To: lkml; +Cc: akpm


// Linux 2.6.6
// module parameter name is incorrect (looks like a thinko);
// module cannot be loaded as is;

There is no global "track" variable, and just above the patched area is:

static int cyl[MAX_HD] = {-1,-1};
static int head[MAX_HD] = {-1, -1};
static int sect[MAX_HD] = {-1, -1};


diffstat:=
 drivers/block/ps2esdi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Naurp ./drivers/block/ps2esdi.c~orig ./drivers/block/ps2esdi.c
--- ./drivers/block/ps2esdi.c~orig	2004-05-09 19:31:56.000000000 -0700
+++ ./drivers/block/ps2esdi.c	2004-05-16 21:19:49.000000000 -0700
@@ -180,7 +180,7 @@ static int sect[MAX_HD] = {-1, -1};
 MODULE_PARM(tp720esdi, "i");
 MODULE_PARM(cyl, "i");
 MODULE_PARM(head, "i");
-MODULE_PARM(track, "i");
+MODULE_PARM(sect, "i");
 MODULE_LICENSE("GPL");
 
 int init_module(void) {


--
~Randy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-17  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-17  4:39 [PATCH] correct ps2esdi module parm name Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).