lkml.org 
[lkml]   [2004]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo
	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/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.150 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site