[Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo
From: Adam J. Richter (adam_at_yggdrasil.com)
Date: 09/05/04
- Previous message: Clemens Schwaighofer: "external firewire dvd writer"
- Next in thread: maks attems: "Re: [Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo"
- Reply: maks attems: "Re: [Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 5 Sep 2004 10:25:10 -0700 To: janitor@sternwelten.at, minyard@wf-rch.cirr.com, nacc@us.ibm.com
linux-2.6.9-rc1-bk11 integrated the patch "cdu31a: replace
schedule_timeout() with msleep()". That patch contained a typo,
causing the cdu31a driver to fail to compile. Here is a fix for
the typo.
Of course I have tested this patch to verify that it compiles.
I do not, however, have a Sony cdu-31a or cdu-33a drive handy to actually
test that the driver works. I wonder if anyone out there still has a
Sony cdu-31a or cdu-33a CD-ROM drive on a machine running Linux.
Signed-off-by: Adam J. Richter <adam@yggdrasil.com>
__ ______________
Adam J. Richter \ /
adam@yggdrasil.com | g g d r a s i l
--- linux-2.6.9-rc1-bk11/drivers/cdrom/cdu31a.c 2004-09-05 09:11:23.000000000 -0700
+++ linux/drivers/cdrom/cdu31a.c 2004-09-05 10:09:42.000000000 -0700
@@ -959,7 +959,7 @@
if (((result_buffer[0] & 0xf0) == 0x20)
&& (num_retries < MAX_CDU31A_RETRIES)) {
num_retries++;
- msleep(100):
+ msleep(100);
goto retry_cd_operation;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Clemens Schwaighofer: "external firewire dvd writer"
- Next in thread: maks attems: "Re: [Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo"
- Reply: maks attems: "Re: [Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|