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-mm3: cdrom/cdu31a.c doesn't compile
On Fri, Sep 03, 2004 at 01:48:11AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.9-rc1-mm2:
>...
> +cdu31a-replace-schedule_timeout-with-msleep.patch
>...
> Janitorial things
>...

Doesn't compile:

<-- snip -->

...
CC drivers/cdrom/cdu31a.o
drivers/cdrom/cdu31a.c: In function `do_sony_cd_cmd':
drivers/cdrom/cdu31a.c:962: parse error before `:'
drivers/cdrom/cdu31a.c:932: warning: label `retry_cd_operation' defined but not used
make[2]: *** [drivers/cdrom/cdu31a.o] Error 1

<-- snip -->


Trivial fix:


Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

--- linux-2.6.9-rc1-mm3-full/drivers/cdrom/cdu31a.c.old 2004-09-04 11:30:21.000000000 +0200
+++ linux-2.6.9-rc1-mm3-full/drivers/cdrom/cdu31a.c 2004-09-04 11:31:08.000000000 +0200
@@ -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.276 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site